Skip to content

Commit

Permalink
template
Browse files Browse the repository at this point in the history
  • Loading branch information
scienceopen committed Jul 18, 2016
1 parent 8419406 commit e2e0d88
Showing 1 changed file with 24 additions and 17 deletions.
41 changes: 24 additions & 17 deletions .travis.yml
@@ -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

0 comments on commit e2e0d88

Please sign in to comment.