amnezia-client/.travis.yml
2021-01-17 16:15:52 +03:00

33 lines
No EOL
831 B
YAML

language: cpp
branches:
only:
- master
- dev
jobs:
include:
- name: MacOS
os: osx
osx_image: xcode12.2
# addons:
# homebrew:
# packages:
# - qt5
# update: true
script:
- if [ ! -f $HOME/Qt/5.14.2/clang_64/bin/qmake ]; then bash deploy/install-qt.sh --version 5.14.2 --toolchain clang_64 qtbase; fi
- bash deploy/build_macos.sh
#before_cache:
# - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then brew cleanup; fi
# # Cache only .git files under "/usr/local/Homebrew" so "brew update" does not take 5min every build
# - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then find /usr/local/Homebrew \! -regex ".+\.git.+" -delete; fi
cache:
directories:
- $HOME/Qt
# - $HOME/Library/Caches/Homebrew
# - /usr/local/Cellar/qt