Skip to content

Commit 0cd550d

Browse files
committed
CI: fix travis pip install + add caching
1 parent 36a7d68 commit 0cd550d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
# After changing this file, check it on:
22
# http://lint.travis-ci.org/
33
language: python
4+
sudo: false
45
python:
56
- 3.3
67
- 2.7
8+
cache:
9+
directories:
10+
- $HOME/.cache/pip
711
before_install:
812
- pip install --upgrade pip setuptools # Upgrade pip and setuptools to get ones with `wheel` support
9-
- pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel --use-mirrors nose numpy matplotlib Sphinx
13+
- pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --trusted-host wheels.astropy.org --trusted-host wheels2.astropy.org --use-wheel nose numpy matplotlib Sphinx
1014
script:
1115
- python setup.py test

0 commit comments

Comments
 (0)