-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
64 lines (56 loc) · 1.48 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
56
57
58
59
60
61
62
63
64
sudo: false
dist: trusty
language: python
env:
matrix:
include:
- python: "2.7"
env:
- PINTS_COMPILER=clang
- PINTS_BUILD_TYPE=Release
- python: "2.7"
env:
- PINTS_COMPILER=clang
- PINTS_BUILD_TYPE=Debug
- python: "2.7"
env:
- PINTS_COMPILER=gcc
- PINTS_BUILD_TYPE=Debug
- python: "3.6"
env:
- PINTS_COMPILER=clang
- PINTS_BUILD_TYPE=Release
- python: "3.6"
env:
- PINTS_COMPILER=gcc
- PINTS_BUILD_TYPE=Debug
addons:
apt:
sources:
- boost-latest
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8
packages:
- gcc-5
- g++-5
- clang-3.8
# command to install dependencies
install:
- wget http://bitbucket.org/eigen/eigen/get/3.3.1.tar.gz; tar -xvf 3.3.1.tar.gz;mv eigen-eigen-* problems/electrochemistry/eigen3
- pip install pints/.
- pip install -r pints/requirements.txt
- pip install -r pints/requirements-dev.txt
before_script:
- if [ "$PINTS_COMPILER" = "gcc" ]; then export CXX="g++-5" CC="gcc-5"; fi
- if [ "$PINTS_COMPILER" = "clang" ]; then export CXX="clang++-3.8" CC="clang-3.8"; fi
- printenv
- clang++ --version 2>&1 | grep clang
- g++ --version 2>&1 | grep g++
- python --version
script:
- ./run-tests-electrochemistry.sh
notifications:
email:
recipients: