forked from beetbox/confuse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (37 loc) · 967 Bytes
/
.travis.yml
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
34
35
36
37
38
39
40
41
42
43
language: python
sudo: false
env:
global:
# Undocumented feature of nose-show-skipped.
NOSE_SHOW_SKIPPED: 1
matrix:
include:
- python: 2.7
env: {TOXENV: py27-test}
- python: 3.4
env: {TOXENV: py34-cov, COVERAGE: 1}
- python: 3.5
env: {TOXENV: py35-test}
- python: 3.6
env: {TOXENV: py36-test}
- python: pypy
env: {TOXENV: pypy-test}
- python: 2.7
env: {TOXENV: py27-flake8}
- python: 3.4
env: {TOXENV: py34-flake8}
- python: 3.6
env: {TOXENV: py36-flake8}
- python: 2.7
env: {TOXENV: docs}
# Install tox for testing.
install:
- travis_retry pip install tox
script: tox
# Report coverage to codecov.io.
before_install:
- "[ ! -z $COVERAGE ] && travis_retry pip install codecov || true"
after_success:
- "[ ! -z $COVERAGE ] && codecov || true"
cache:
pip: true