Skip to content

Commit

Permalink
Made changes to Travis again.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ragav Venkatesan committed Nov 14, 2016
1 parent a47786e commit 42608ce
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
26 changes: 13 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,30 @@ python:
- "2.6"
- "2.7"
# command to install dependencies copied this from like many github toolboxes out there
install:
before_install:
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- pip install .
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib theano
- source activate test-environment
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda/bin:$PATH
- conda update --yes conda
# The next couple lines fix a crash with multiprocessing on Travis and are not specific to using Miniconda
- conda install --yes python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib theano
- sudo rm -rf /dev/shm
- sudo ln -s /run/shm /dev/shm
- pip install codecov
# Install packages
install:
- pip install -r requirements.txt
- python setup.py install

# command to run tests
script:
- coverage run nosetests
- coverage

before_install:
pip install codecov
after_success:
codecov

2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ numpy
scipy
numpydoc
Sphinx>=1.2.3
skdata
sphinx_rtd_theme
skdata

0 comments on commit 42608ce

Please sign in to comment.