mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Occurs when tests run with tox not with Travis CI or Appveyor Changed existing tox setenv statement to use whitespace around `=` as per http://tox.readthedocs.io/en/latest/example/basic.html#setting-environment-variables
27 lines
611 B
YAML
27 lines
611 B
YAML
language: python
|
|
python: 3.5
|
|
env: # These should match the tox env list
|
|
- TOXENV=py27
|
|
- TOXENV=py34
|
|
- TOXENV=py35
|
|
- TOXENV=pypy
|
|
- TOXENV=py27 LATEST_GIT=1
|
|
install: pip install coveralls tox
|
|
script: tox
|
|
before_install:
|
|
# 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/bin:$PATH"
|
|
fi
|
|
- git --version
|
|
after_success:
|
|
- coveralls
|
|
sudo: false
|
|
cache:
|
|
directories:
|
|
- $HOME/.cache/pip
|
|
- $HOME/.pre-commit
|