-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.travis.yml
20 lines (20 loc) · 843 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
language: python
dist: xenial # Required for Python >= 3.7
python:
- "3.7"
install:
- wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION pytest numpy
- conda install ambertools=17 -n test-environment -c http://ambermd.org/downloads/ambertools/conda/
- conda install vmd-python networkx psfgen parmed -n test-environment -c conda-forge
- source activate test-environment
- export AMBERHOME="$HOME/miniconda/envs/test-environment"
- python setup.py install
script:
- python setup.py test