forked from opentoonz/kumoworks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (35 loc) · 789 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
language: cpp
git:
depth: 1
sudo: required
dist: trusty
before_install:
- |
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
brew install qt
else
sudo add-apt-repository --yes ppa:beineri/opt-qt597-trusty
sudo apt-get update
sudo apt-get install -y qt59svg qt59tools
fi
install:
- mkdir build && cd build
script:
- |
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
QTVERSION=`ls /usr/local/Cellar/qt`
cmake ../sources/ -DQTDIR=/usr/local/Cellar/qt/$QTVERSION/
else
source /opt/qt59/bin/qt59-env.sh
cmake ../sources
fi
- make -j 2
matrix:
include:
- os: linux
compiler: gcc
cache: ccache
- os: linux
compiler: clang
- os: osx
osx_image: xcode9.4