travis fix

This commit is contained in:
pokamest 2021-01-18 01:14:04 +03:00
parent 8bc6852b39
commit d43a1cd753

View file

@ -11,9 +11,10 @@ jobs:
os: osx
osx_image: xcode12.2
# addons:
# homebrew:
# packages:
addons:
homebrew:
packages:
- p7zip
# - qt5
# update: true
@ -21,6 +22,13 @@ jobs:
- if [ ! -f $HOME/Qt/5.14.2/clang_64/bin/qmake ]; then bash deploy/install-qt.sh -d $HOME/Qt --version 5.14.2 --toolchain clang_64 qtbase; fi
- bash deploy/build_macos.sh
include:
- name: Windows
os: windows
script:
- bash "if [ ! -f /C/Qt/5.14.2/msvc2017/bin/qmake ]; then bash deploy/install-qt.sh -d /C/Qt --version 5.14.2 --toolchain win32_msvc2017 qtbase; fi
#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
@ -29,5 +37,6 @@ jobs:
cache:
directories:
- $HOME/Qt
- C:\Qt
# - $HOME/Library/Caches/Homebrew
# - /usr/local/Cellar/qt