Skip to content

Commit 90cfe50

Browse files
committed
Caching pip should speed up subsequent builds
1 parent f9f8d4b commit 90cfe50

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

.travis.yml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,22 @@ env:
88

99
language: python
1010

11+
# make subsequent builds happen really fast
12+
cache: pip
13+
14+
addons:
15+
apt:
16+
packages:
17+
- libgeos-3.3.8
18+
# requirements for matplotlib
19+
- libpng12-dev
20+
- libfreetype6-dev
21+
1122
matrix:
1223
include:
1324
# use libgeos binary from apt
1425
- python: 2.6
15-
env: NUMPY=numpy==1.6
26+
env: NUMPY=numpy==1.6.2
1627
- python: 2.7
1728
- python: 3.3
1829
- python: 3.4
@@ -26,15 +37,12 @@ matrix:
2637
# - python: 2.7
2738
# env: TEST_ARGS=--pep8
2839

29-
addons:
30-
apt:
31-
packages:
32-
- libgeos-3.3.8
3340

34-
before_install:
41+
42+
# before_install:
3543
# Install into our own pristine virtualenv
36-
- virtualenv --python=python venv
37-
- source venv/bin/activate
44+
# - virtualenv --python=python venv
45+
# - source venv/bin/activate
3846

3947
install:
4048
# Upgrade pip and setuptools. Mock has issues with the default version of

0 commit comments

Comments
 (0)