forked from nasa/bingo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (44 loc) · 1.33 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: python
python: "3.6"
jobs:
include:
- stage: "test"
name: "unit tests"
before_install:
- sudo apt-get install -y -q mpich libmpich-dev
install:
- pip install pytest pytest-cov pytest-mock
- pip install coveralls
- pip install -r requirements.txt
- ./.build_bingocpp.sh
before_script:
- export PYTHONPATH=$PYTHONPATH:$PWD
script:
- python -c "import bingo"
- tests/.run_tests.sh
after_script:
- coveralls
- name: "performance benchmarks"
before_install:
- sudo apt-get install -y -q mpich libmpich-dev
install:
- pip install -r requirements.txt
- ./.build_bingocpp.sh
before_script:
- export PYTHONPATH=$PYTHONPATH:$PWD
script:
- python tests/performance_benchmarking/performance_benchmarks.py
- python tests/performance_benchmarking/island_benchmarks.py
- name: "examples"
before_install:
- sudo apt-get install -y -q mpich libmpich-dev
install:
- pip install -r requirements.txt
- pip install jupyter
- pip install nbconvert
- pip install matplotlib
- ./.build_bingocpp.sh
before_script:
- export PYTHONPATH=$PYTHONPATH:$PWD
script:
- examples/.test_examples.sh