forked from paceholder/nodeeditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (40 loc) · 1.14 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
sudo: required
dist: trusty
# to avoid exporting gcc4.8
language: none
matrix:
include:
- compiler: gcc
env: CXX=g++-5 CC=gcc-5 QT_BASE=57
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- compiler: clang
env: CXX=clang++-3.7 CC=clang-3.7 QT_BASE=57
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.7
packages:
- clang-3.7
#branches:
#only:
#- master
before_install:
#- if [ "$QT_BASE" = "54" ]; then sudo add-apt-repository ppa:beineri/opt-qt542-trusty -y; fi
- if [ "$QT_BASE" = "57" ]; then sudo add-apt-repository ppa:beineri/opt-qt571-trusty -y; fi
- sudo apt-get update -qq
install:
- sudo apt-get install build-essential libgl1-mesa-dev
#- if [ "$QT_BASE" = "54" ]; then sudo apt-get install -qq qt54base; source /opt/qt54/bin/qt54-env.sh; fi
- if [ "$QT_BASE" = "57" ]; then sudo apt-get install -qq qt57base; source /opt/qt57/bin/qt57-env.sh; fi
script:
- mkdir build
- cd build
- cmake .. && make -j
notifications:
email: false