forked from pubnub/python
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
41 lines (37 loc) · 901 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
language: python
dist: xenial
os: linux
install:
- bash scripts/install.sh
stages:
- name: "test"
if: |
type != pull_request \
AND tag IS blank
- name: "code coverage"
if: |
type == pull_request
jobs:
include:
- stage: "test"
name: 'Python 2.7'
python: '2.7'
script: python scripts/run-tests.py
- name: 'Python 3.4'
python: '3.4'
script: python scripts/run-tests.py
- name: 'Python 3.5'
python: '3.5'
script: python scripts/run-tests.py
- name: 'Python 3.6'
python: '3.6'
script: python scripts/run-tests.py
- name: 'Python PyPi'
python: 'pypy'
script: python scripts/run-tests.py
- stage: "code coverage"
name: 'Test & Code coverage'
python: '3.6'
script: python scripts/run-tests.py
after_success:
- python-codacy-coverage -r coverage.xml