forked from pre-commit/pre-commit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
33 lines (33 loc) · 851 Bytes
/
.travis.yml
File metadata and controls
33 lines (33 loc) · 851 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
language: python
dist: trusty
sudo: required
services:
- docker
matrix:
include:
- env: TOXENV=py27
- env: TOXENV=py27 LATEST_GIT=1
- env: TOXENV=py35
python: 3.5
- env: TOXENV=py36
python: 3.6
- env: TOXENV=pypy
python: pypy2.7-5.10.0
install: pip install coveralls tox
script: tox
before_install:
- git --version
- |
if [ "$LATEST_GIT" = "1" ]; then
testing/latest-git.sh
export PATH="/tmp/git/bin:$PATH"
fi
- git --version
- 'testing/get-swift.sh && export PATH="/tmp/swift/usr/bin:$PATH"'
- 'curl -sSf https://sh.rustup.rs | bash -s -- -y'
- export PATH="$HOME/.cargo/bin:$PATH"
after_success: coveralls
cache:
directories:
- $HOME/.cache/pip
- $HOME/.cache/pre-commit