Skip to content

Commit b0f5aa1

Browse files
use xenial
1 parent bbb8cc2 commit b0f5aa1

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.travis.yml

+14-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
language: python
2+
23
python:
34
- "2.7"
45
- "3.4"
@@ -7,6 +8,10 @@ python:
78
- "3.7"
89
- "pypy"
910
- "pypy3"
11+
12+
env:
13+
- SKIP=false
14+
1015
install: "pip install -r requirements/core.txt;pip install -r requirements/test.txt"
1116
before_script: "pep8"
1217
addons:
@@ -17,12 +22,14 @@ after_success:
1722

1823
# Integration tests need to run first to reset the PR build status to pending
1924
stages:
20-
- 'Integration tests'
21-
- 'Test'
25+
- name: 'Trigger Integration tests'
26+
if: env(SKIP) = true
27+
- name: 'Test'
28+
if: env(SKIP) = false
2229

2330
jobs:
2431
include:
25-
- stage: 'Integration tests'
32+
- stage: 'Trigger Integration tests'
2633
env: SDK=python
2734
language: python
2835
before_install: skip
@@ -33,3 +40,7 @@ jobs:
3340
script:
3441
- "ci/trigger_fullstack-sdk-compat.sh"
3542
after_success: skip
43+
44+
- stage: 'Test'
45+
if: TRAVIS_PYTHON_VERSION =~ /^3.7/
46+
dist: xenial

0 commit comments

Comments
 (0)