Skip to content

Commit

Permalink
Initial travis-ci configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
bartromgens committed May 3, 2016
1 parent 9193265 commit 6d47501
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[run]
source = geojsoncontour
28 changes: 28 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
cache: apt
sudo: false
language: python
python:
- '3.3'
- '3.4'
- '3.5'
addons:
apt:
packages:
- libblas-dev
- liblapack-dev
- gfortran
before_install:
- wget http://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"
- conda update --yes conda
install:
- conda install --yes python=$TRAVIS_PYTHON_VERSION pip numpy scipy matplotlib
- pip install -r requirements_travis.txt
- pip install coveralls
script:
- coverage run geojsoncontour/tests/test.py
notifications:
email: false
after_success:
coveralls
1 change: 1 addition & 0 deletions requirements_travis.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
geojson==1.3.2

0 comments on commit 6d47501

Please sign in to comment.