Skip to content

Commit

Permalink
[CI] Add stages
Browse files Browse the repository at this point in the history
  • Loading branch information
ask committed Feb 8, 2019
1 parent 613f59a commit 890513e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .travis.yml
@@ -1,78 +1,101 @@
language: python
sudo: required
cache: pip

env:
global:
- PYTHONUNBUFFERED=yes

stages:
- lint
- test

matrix:
include:
- python: 3.7.2
env: TOXENV=flake8
os: linux
dist: xenial
stage: lint
- python: 3.7.2
env: TOXENV=typecheck
os: linux
dist: xenial
stage: lint
- python: 3.7.2
env: TOXENV=apicheck
os: linux
dist: xenial
stage: lint
- python: 3.7.2
env: TOXENV=configcheck
os: linux
dist: xenial
stage: lint
- python: 3.6.0
env: TOXENV=3.6 IDENT="3.6.0" RUN_SUITE=y
os: linux
dist: trusty
stage: test
- python: 3.6.1
env: TOXENV=3.6 IDENT="3.6.1" RUN_SUITE=y
os: linux
dist: trusty
stage: test
- python: 3.6.2
env: TOXENV=3.6 IDENT="3.6.2" RUN_SUITE=y
os: linux
dist: trusty
stage: test
- python: 3.6.3
env: TOXENV=3.6 IDENT="3.6.3" RUN_SUITE=y
os: linux
dist: xenial
stage: test
- python: 3.6.4
env: TOXENV=3.6 IDENT="3.6.4" RUN_SUITE=y
os: linux
dist: xenial
stage: test
- python: 3.6.5
env: TOXENV=3.6 IDENT="3.6.5" RUN_SUITE=y
os: linux
dist: xenial
stage: test
- python: 3.6.6
env: TOXENV=3.6 IDENT="3.6.6" RUN_SUITE=y
os: linux
dist: xenial
stage: test
- python: 3.6.7
env: TOXENV=3.6 IDENT="3.6.7" RUN_SUITE=y
os: linux
dist: xenial
stage: test
- python: 3.6.8
env: TOXENV=3.6 IDENT="3.6.8" RUN_SUITE=y
os: linux
dist: xenial
stage: test
- python: 3.7.0
env: TOXENV=3.7 IDENT="3.7.0" RUN_SUITE=y
os: linux
dist: xenial
stage: test
- python: 3.7.1
env: TOXENV=3.7 IDENT="3.7.1" RUN_SUITE=y
os: linux
dist: xenial
stage: test
- python: 3.7.2
env: TOXENV=3.7 IDENT="3.7.2" RUN_SUITE=y
os: linux
dist: xenial
stage: test
- python: 3.7.2
env: TOXENV=3.7 RUN_SUITE=y
os: windows
stage: test
language: sh
before_install:
- choco install python --version=3.7.2
Expand Down

0 comments on commit 890513e

Please sign in to comment.