Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
travis osx Python template
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Oct 17, 2017
1 parent a68688c commit 3120fb4
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions .travis.yml
@@ -1,33 +1,25 @@
language: python

python:
- 2.7
- 3.4
- 3.5
- 3.6
language: generic

os:
- linux
- osx

env: TRAVIS_PYTHON_VERSION=3.6

notifications:
email: false
email: false

git:
depth: 3




depth: 3


before_install:
- if [[ $TRAVIS_OS_NAME == osx ]]; then
wget http://repo.continuum.io/miniconda/Miniconda-latest-MacOSX-x86_64.sh -O miniconda.sh;
wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh;
else
wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi

install:
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH=$HOME/miniconda/bin:$PATH
- hash -r
Expand All @@ -38,8 +30,10 @@ install:
- source activate test
- pip -q install coveralls

install:
- python setup.py develop

script: coverage run tests/test.py -v

after_success: coveralls

0 comments on commit 3120fb4

Please sign in to comment.