Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
scienceopen
committed
Jul 18, 2016
1 parent
8419406
commit e2e0d88
Showing
1 changed file
with
24 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,43 @@ | ||
language: generic | ||
|
||
notifications: | ||
email: false | ||
email: false | ||
|
||
git: | ||
depth: 3 | ||
|
||
env: | ||
global: | ||
- pyv=3.5 | ||
depth: 3 | ||
|
||
matrix: | ||
include: | ||
- os: osx | ||
env: | ||
- osv=MacOSX | ||
env: pyv=2.7 | ||
|
||
- os: linux | ||
env: | ||
- osv=Linux | ||
env: pyv=2.7 | ||
|
||
- os: osx | ||
env: pyv=3.5 | ||
|
||
- os: linux | ||
env: pyv=3.5 | ||
|
||
install: | ||
- wget http://repo.continuum.io/miniconda/Miniconda-latest-$osv-x86_64.sh -O miniconda.sh | ||
- if [[ $TRAVIS_OS_NAME == osx ]]; then | ||
wget http://repo.continuum.io/miniconda/Miniconda-latest-MacOSX-x86_64.sh -O miniconda.sh; | ||
else | ||
wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh; | ||
fi | ||
|
||
- bash miniconda.sh -b -p $HOME/miniconda | ||
- export PATH=$HOME/miniconda/bin:$PATH | ||
- conda update --yes --quiet conda | ||
- conda create --yes -n test python=$pyv | ||
- hash -r | ||
|
||
- conda config --set always_yes yes --set changeps1 no | ||
- conda update -q conda | ||
- conda create -n test python=$pyv | ||
- source activate test | ||
- pip -q install coveralls | ||
- python setup.py develop | ||
|
||
script: | ||
- coverage run test/test.py | ||
script: coverage run tests/test.py | ||
|
||
after_success: | ||
- coveralls | ||
after_success: coveralls |