travis scripts

This commit is contained in:
pokamest
2021-01-17 13:11:39 +03:00
parent bfa0ac4c34
commit aa648d4e12
5 changed files with 133 additions and 18 deletions
+30
View File
@@ -0,0 +1,30 @@
language: cpp
branches:
only:
- master
- dev
jobs:
include:
- name: MacOS
os: osx
addons:
homebrew:
packages:
- qt5
script:
- 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:
apt: true
directories:
- $HOME/Library/Caches/Homebrew
- /usr/local/Cellar/qt