-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
48 lines (41 loc) · 1.04 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
language: cpp
sudo: required
dist: trusty
compiler:
- clang++
- g++
before_install:
- wget http://downloads.sourceforge.net/project/sbml/libsbml/5.13.0/stable/Linux/64-bit/libSBML-5.13.0-Linux-x64.deb
- sudo dpkg -i libSBML-5.13.0-Linux-x64.deb
- sh travis.testsuite.xml.sh > $HOME/.testsuite.xml
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-5" CC="gcc-5"; fi
- if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.8" CC="clang-3.8"; fi
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64
script:
- rm -rf build
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Debug .. && make
- ctest -E IntegrationTest
- ctest -R IntegrationTest
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8
- boost-latest
packages:
- cmake
- clang-3.8
- g++-5
- gcc-5
- libxml2-dev
- libbz2-dev
- libboost1.55-all-dev
- oracle-java8-installer
- ant
cache:
directories:
- test/integration/testsuite
- thirdparty/googletest