-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
36 lines (32 loc) · 891 Bytes
/
.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
--wisudo: false
os: linux
dist: trusty
sudo: required
compiler: gcc
python:
- "3.7"
env:
global:
- NO_NET=1
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- export PATH="$HOME/pestpp/bin/linux:$PATH"
- conda update --yes conda
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
install:
- conda install --yes python=$TRAVIS_PYTHON_VERSION pip numpy scipy pandas nose matplotlib jupyter notebook sphinx nbconvert
- pip install coveralls
- pip install pyshp
- pip install nose-timer
- pip install nbsphinx
script:
- export PYTHONPATH=$PYTHONPATH:.
- nosetests -v --with-id --nocapture --with-timer --with-coverage autotest_notebooks.py
after_success:
- cd docs
- make html
- cd ..
- coveralls