forked from circuits/circuits
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
57 lines (49 loc) · 1.22 KB
/
.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
sudo: false
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
- pypy
matrix:
fast_finish: true
allow_failures:
# Till https://travis-ci.org/circuits/circuits/jobs/192669838 is solved.
- os: osx
- env: ALLOW_FAIL=true
include:
- python: 2.7
os: osx
language: generic
env: TOXENV=py27
- python: 3.6
os: osx
language: generic
env: TOXENV=py36
before_install: brew install python3
- python: pypy
os: osx
language: generic
env: TOXENV=pypy
before_install: brew install pypy
- python: 3.6
install: pip install -U flake8
script: flake8
after_success:
env: ALLOW_FAIL=true
- python: 3.6
install: pip install -U isort
script: isort -c --diff
after_success:
env: ALLOW_FAIL=true
install:
- pip install -Ur requirements-test.txt
- pip install -Ue .
script: tox -- --cov --no-cov-on-fail --cov-report=
after_success: codecov
notifications:
irc: "chat.freenode.net#circuits"
before_script:
# Add IPv6 interfaces: https://github.com/travis-ci/travis-ci/issues/8361
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6'; fi