Skip to content

Commit

Permalink
Adds TravisCI configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
harrymvr committed Jan 26, 2016
1 parent 0fe4557 commit 602ff76
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .travis.yml
@@ -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

0 comments on commit 602ff76

Please sign in to comment.