forked from fedora-infra/fedora-messaging
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
63 lines (58 loc) · 1.41 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
language: python
cache: pip
notifications:
email:
recipients:
- jcline@fedoraproject.org
- abompard@fedoraproject.org
on_success: never
on_failure: always
irc:
channels:
- "chat.freenode.net#fedora-apps"
on_success: never
on_failure: change
install:
- pip install --upgrade pip setuptools
- pip install tox
script:
- tox
after_success:
- source .tox/${TOXENV}/bin/activate && pip install codecov && codecov --env TRAVIS_OS_NAME,TOXENV
env:
global:
- PYTHONWARNINGS=always::DeprecationWarning
matrix:
include:
- python: "2.7"
env: TOXENV=py27-unittest
- python: "3.6"
env: TOXENV=py36-unittest
- python: "3.7"
env: TOXENV=py37-unittest
dist: xenial
sudo: required # Force Travis to use a Ubuntu 16.04 VM that can run 3.7
- python: "2.7"
env: TOXENV=py27-integration
sudo: required
before_install:
- ./travis-integration-setup.sh
- python: "3.6"
env: TOXENV=py36-integration
sudo: required
before_install:
- ./travis-integration-setup.sh
- python: "3.7"
env: TOXENV=py37-integration
dist: xenial
sudo: required
before_install:
- ./travis-integration-setup.sh
- python: "3.6"
env: TOXENV=docs
- python: "3.6"
env: TOXENV=lint
- python: "3.6"
env: TOXENV=format
- python: "3.6"
env: TOXENV=licenses