Files
pre-commit/.travis.yml
Anthony Sottile d8d401e1a3 Revert "Merge pull request #342 from pre-commit/latest_virtualenv_breaks_tests"
This reverts commit 894862462d, reversing
changes made to b1e6063e12.
2016-02-07 14:08:17 -08:00

39 lines
922 B
YAML

language: python
env: # These should match the tox env list
- TOXENV=py26
- TOXENV=py27
- TOXENV=py33
- TOXENV=py34
- TOXENV=py35
- TOXENV=pypy
- TOXENV=pypy3
- TOXENV=py27 LATEST_GIT=1
install: pip install coveralls tox
script: tox
# Special snowflake. Our tests depend on making real commits.
before_install:
- git config --global user.name "Travis CI"
- git config --global user.email "user@example.com"
# Our tests inspect some of *our* git history
- git fetch --unshallow
- git --version
- |
if [ "$LATEST_GIT" = "1" ]; then
./latest-git.sh
export PATH="/tmp/git:$PATH"
fi
- git --version
after_success:
- coveralls
sudo: false
cache:
directories:
- $HOME/.cache/pip
- $HOME/.pre-commit
addons:
apt:
sources:
- deadsnakes
packages:
- python3.5-dev