forked from paceholder/nodeeditor
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
53 lines (45 loc) · 1.36 KB
/
.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
42
43
44
45
46
47
48
49
50
51
52
53
language: none
matrix:
include:
- os: linux
dist: trusty
compiler: clang
env: CXX=clang++-3.8 CC=clang-3.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8
packages:
- clang-3.8
# VERY IMPORTANT TO INSTALL g++5! Otherwise will not compile with clang
# clang somehow uses std lib of g++, we should have fresh stdlib for using C++14
- g++-5
- os: linux
dist: trusty
compiler: gcc
env: CXX=g++-5 CC=gcc-5 QT=5
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- os: osx
osx_image: xcode6.4
compiler: clang
env: CMAKE_PREFIX_PATH=/usr/local/Cellar/qt/5.8.0_2:$CMAKE_PREFIX_PATH
git:
depth: 10
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install qt; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install build-essential libgl1-mesa-dev ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -yy install qtbase5-dev ; fi
script:
- mkdir build
- cd build
- cmake .. && make -j
notifications:
email: false