forked from ElucidataInc/ElMaven
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (34 loc) · 925 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
matrix:
include:
# works on Precise and Trusty
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
env:
- MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
#os: linux
dist: trusty
language: cpp
compiler: gcc-5
group: deprecated-2017Q2
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq qt5-qmake qtbase5-dev qtscript5-dev qtdeclarative5-dev libqt5webkit5-dev libsqlite3-dev libboost-all-dev libnetcdf-dev
- eval "${MATRIX_EVAL}"
sudo: required
script:
- export QT_SELECT=qt5
- export CXX="g++-5"
- export CC="gcc-5"
- sudo unlink /usr/bin/gcc && sudo ln -s /usr/bin/gcc-5 /usr/bin/gcc
- sudo unlink /usr/bin/g++ && sudo ln -s /usr/bin/g++-5 /usr/bin/g++
- g++ -v
- gcc -v
- qmake -qt=qt5 -v
- qmake -qt=qt5 CONFIG+=release -o Makefile build.pro
- make -j4
- ./bin/MavenTests -xml