Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c7eefd4

Browse files
committed
Take advantage of the travis-ci cache feature
1 parent 7911f4b commit c7eefd4

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

.travis.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,18 @@ env: # These should match the tox env list
55
- TOXENV=py33
66
- TOXENV=py34
77
- TOXENV=pypy
8-
install: pip install coveralls tox --use-mirrors
8+
install: pip install coveralls tox
99
script: tox
1010
# Special snowflake. Our tests depend on making real commits.
1111
before_install:
12-
- git config --global user.name "Travis CI"
13-
- git config --global user.email "[email protected]"
14-
# Our tests inspect some of *our* git history
15-
- git fetch --unshallow
12+
- git config --global user.name "Travis CI"
13+
- git config --global user.email "[email protected]"
14+
# Our tests inspect some of *our* git history
15+
- git fetch --unshallow
1616
after_success:
1717
- coveralls
1818
sudo: false
19+
cache:
20+
directories:
21+
- $HOME/.cache/pip
22+
- $HOME/.pre-commit

tox.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ project = pre_commit
44
envlist = py26,py27,py33,py34,pypy
55

66
[testenv]
7-
install_command = pip install --use-wheel {opts} {packages}
87
deps = -rrequirements-dev.txt
98
passenv = HOME HOMEPATH LANG TERM
109
commands =

0 commit comments

Comments
 (0)