-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.travis.yml
28 lines (28 loc) · 982 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
language: python
dist: xenial
sudo: true
python:
# not actually using the Travis versions of Python shown here, but useful to organize matrix
# see: https://conda.io/docs/user-guide/tasks/use-conda-with-travis-ci.html#the-travis-yml-file
- "2.7"
- "3.6"
- "3.7"
- "3.8"
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b -p /home/travis/miniconda
- export PATH=/home/travis/miniconda/bin:$PATH
- conda config --set always_yes yes
- conda update conda
install:
- conda create -q -n pyenv libgfortran python=$TRAVIS_PYTHON_VERSION numpy scipy pytest pytest-cov pyyaml
- source activate pyenv
- conda config --add channels conda-forge
- conda install -c conda-forge mdanalysis
- pip install coveralls tempdir
- chmod +x ./
script:
- pytest --cov=diffusion_analysis --cov-report term-missing test_diffusion_analysis.py
after_success:
- coveralls