mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
22 lines
580 B
YAML
22 lines
580 B
YAML
language: python
|
|
env: # These should match the tox env list
|
|
- TOXENV=py26
|
|
- TOXENV=py27
|
|
- TOXENV=py33
|
|
- TOXENV=py34
|
|
- TOXENV=pypy
|
|
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
|
|
after_success:
|
|
- coveralls
|
|
sudo: false
|
|
cache:
|
|
directories:
|
|
- $HOME/.cache/pip
|
|
- $HOME/.pre-commit
|