forked from thouska/spotpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (34 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
language: python
python:
#- "2.7"
#- "3.5"
- "3.7"
# - "3.8" #Errors on Travis, build times out because no output was received...
# this ubuntu distribution has sure the libopenmpi-dev packages available
dist: bionic
# command to install dependencies
install:
- sudo apt-get update
- sudo apt install libopenmpi-dev openmpi-bin
- pip install mpi4py
- python setup.py install
- pip install coveralls
- pip install pathos
- pip install numpy
- pip install matplotlib
- pip install pandas
- pip install scipy
- pip install click
- pip install deap
# Need to force pytest-cov to v2.6 as current version (2.6.1) is deprecated and pytest:3.10.1
- pip install pytest==3.10.1 pytest-pep8 pytest-cov==2.6
# Use docutils to generate html describe
- pip install docutils
- pip install numba
- pip install tables
script:
- py.test tests/test_* --cov spotpy --cov-report term-missing -v
# - mpirun -c 4 python spotpy/examples/tutorial_parallel_computing_hymod.py 100
- pip uninstall spotpy -y
after_success:
- coveralls