Skip to content

Commit 4c99378

Browse files
committed
Use pip instead of conda
1 parent 6617d0e commit 4c99378

1 file changed

Lines changed: 3 additions & 19 deletions

File tree

.travis.yml

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,10 @@ language: python
22
python:
33
- "2.7"
44
- "3.3"
5-
install:
6-
# We do this conditionally because it saves us some downloading if the
7-
# version is the same.
8-
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
9-
wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
10-
else
11-
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
12-
fi
13-
- bash miniconda.sh -b -p $HOME/miniconda
14-
- export PATH="$HOME/miniconda/bin:$PATH"
15-
- hash -r
16-
- conda config --set always_yes yes --set changeps1 no
17-
- conda update -q conda
18-
# Useful for debugging any issues with conda
19-
- conda info -a
205

21-
# Replace dep1 dep2 ... with your dependencies
22-
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy nose ipython
23-
- source activate test-environment
24-
- python setup.py install
6+
install:
7+
- python -m pip install numpy ipython
8+
- python -m pip install .
259
script:
2610
- make test
2711

0 commit comments

Comments
 (0)