-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
55 lines (49 loc) · 1.65 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
54
55
language: cpp
compiler:
- gcc
- clang
os:
- linux
notifications:
email:
recipients:
on_success: change
on_failure: always
env:
- CTEST_MODEL=Nightly
cache: apt
matrix:
allow_failures:
- compiler: clang
before_script:
- sudo add-apt-repository ppa:takluyver/python3 -y
- sudo apt-get update -qq
- sudo apt-get install libxml2-dev libbz2-dev
- sudo apt-get install libhdf5-serial-dev
- sudo apt-get install make cmake
- sudo apt-get install python-numpy python-matplotlib
- sudo apt-get install python3-numpy python3-matplotlib
before_install:
- sbmlurl="http://sourceforge.net/projects/sbml/files/libsbml/5.9.0/stable/Linux/64-bit/libSBML-5.9.0-Linux-x64.deb"
- wget "$sbmlurl" -O libsbml.deb && sudo dpkg -i libsbml.deb
- wget http://ftp.debian.org/debian/pool/main/g/gsl/libgsl0ldbl_1.16+dfsg-4_amd64.deb -O gsl_1.16.deb
- sudo dpkg -i gsl_1.16.deb
- wget "http://ftp.debian.org/debian/pool/main/g/gsl/libgsl0-dev_1.16+dfsg-4_amd64.deb" -O gsl_1.16-dev.deb
- sudo dpkg -i gsl_1.16-dev.deb
- sudo apt-get install -f
install:
- echo "nothing to do here"
script:
- sudo ldconfig /usr/lib64
- make BUILD=debug USE_NEUROKIT=1 && make clean
- mkdir -p _build && cd _build && cmake -DDEBUG=ON -DWITH_DOC=OFF .. && make
- ctest --output-on-failure
- cd ..
- mkdir -p _BUILD && cd _BUILD && cmake -DDEBUG=ON -DPYTHON_EXECUTABLE=/usr/bin/python3 ..
- make
- ctest --output-on-failure
- cd ..