-
Notifications
You must be signed in to change notification settings - Fork 53
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
Showing
14 changed files
with
949 additions
and
806 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,29 +1,44 @@ | ||
language: python | ||
python: | ||
- "2.7" | ||
# install system dependencies | ||
before_install: | ||
- sudo apt-get update -qq | ||
- sudo apt-get install build-essential | ||
- sudo apt-get install libhdf5-serial-dev | ||
- sudo apt-get install libnetcdf-dev | ||
- sudo apt-get install python-dev | ||
- sudo apt-get install libgeos-c1 libgeos-dev | ||
- sudo apt-get install libatlas-base-dev gfortran | ||
- sudo apt-get install libblas3gf libc6 libgcc1 libgfortran3 liblapack3gf libumfpack5.4.0 libstdc++6 | ||
|
||
sudo: false | ||
|
||
addons: | ||
apt: | ||
packages: | ||
- build-essential | ||
- libgeos-c1 | ||
- lib-geos-dev | ||
- libhdf5-serial-dev | ||
- libatlas-base-dev | ||
- gfortran | ||
- libnetcdf-dev | ||
- libblas3gf | ||
- libc6 | ||
- libgcc1 | ||
- libgfortran3 | ||
- liblapack3gf | ||
- libumfpack5.4.0 | ||
- libstdc++6 | ||
|
||
# install Python dependencies | ||
install: | ||
- sudo pip install conda | ||
- sudo conda init | ||
- pip install conda | ||
- conda init | ||
- deps='pip numpy scipy matplotlib basemap shapely nose coverage' | ||
- conda create -p $HOME/py --yes $deps "python=$TRAVIS_PYTHON_VERSION" | ||
- export PATH=$HOME/py/bin:$PATH | ||
- if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install ordereddict; fi | ||
- pip install pycurl | ||
- pip -v install -r requirements.txt | ||
- pip install coveralls | ||
|
||
# Script execution | ||
script: | ||
- python installer/setup.py build_ext -i | ||
- nosetests -w tests/ -v --with-coverage | ||
after_success: | ||
|
||
# Post | ||
after_success: | ||
coveralls | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.