forked from sethmlarson/trytravis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
79 lines (59 loc) · 1.17 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
language: python
sudo: false
matrix:
include:
# Linting
- python: 2.7
env: TOXENV=lint
- python: 3.6
env: TOXENV=lint
# Packaging
- python: 3.6
env: TOXENV=packaging
# Linux Builds
- python: 2.7
env: TOXENV=py27
- python: 3.4
env: TOXENV=py34
- python: 3.5
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- python: nightly
env: TOXENV=py37
# Mac OS Builds
- os: osx
language: generic
env: TOXENV=py27
- os: osx
language: generic
env: TOXENV=py34
- os: osx
language: generic
env: TOXENV=py35
- os: osx
language: generic
env: TOXENV=py36
- os: osx
language: generic
env: TOXENV=py37
allow_failure:
- python: nightly
cache:
- pip
- directories:
- ${HOME}/.cache
install:
- chmod a+x .travis/install.sh .travis/script.sh
- ./.travis/install.sh
script:
- ./.travis/script.sh
after_success:
- source .tox/${TOXENV}/bin/activate
- python -m pip install codecov
- codecov --env TRAVIS_OS_NAME,TOXENV
notifications:
email: false
branches:
only:
- master