-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
28 lines (23 loc) · 841 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: generic
sudo: false
matrix:
include:
- {os: linux, env: PYTHON_VERSION=3.6 }
- {os: linux, env: PYTHON_VERSION=3.7 }
- {os: osx, env: PYTHON_VERSION=3.6 }
- {os: osx, env: PYTHON_VERSION=3.7 }
install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install md5sha1sum; fi
- source devtools/travis-ci/install.sh
- conda config --set always_yes yes --set changeps1 no
- conda config --add channels omnia
- conda config --add channels conda-forge
- conda config --add channels mosdef
- conda create -n test-environment python=$PYTHON_VERSION --file requirements-dev.txt
- source activate test-environment
- pip install -e .
script:
- python -m pytest -v --cov=bilayer --cov-report=
after_success:
- codecov