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
1 changed file
with
35 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
language: python | ||
|
||
python: | ||
- "2.7" | ||
- "3.4" | ||
|
||
# Setup miniconda | ||
|
||
sudo: false | ||
env: | ||
global: | ||
LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so | ||
before_install: | ||
- python --version | ||
- virtualenv --version | ||
- pip --version | ||
- uname -a | ||
- lsb_release -a | ||
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh | ||
- chmod +x miniconda.sh | ||
- ./miniconda.sh -b -p $HOME/miniconda | ||
- export PATH=/home/travis/miniconda/bin:$PATH | ||
- hash -r | ||
- conda config --set always_yes yes --set changeps1 no | ||
- conda update -q conda | ||
- conda config --set ssl_verify false | ||
- conda info -a | ||
install: | ||
- conda install python=$TRAVIS_PYTHON_VERSION numpy=1.10.2 scipy=0.16.1 networkx=1.10 | ||
- conda install pip setuptools nose | ||
- pip install -U coveralls | ||
- python setup.py install | ||
script: | ||
- nosetests --with-coverage --cover-package=absorbing_centrality --logging-level=INFO | ||
- coveralls |