summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 8c1c27081f327d5cb7595e0eafffdf347f0f8038 (plain)
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
if: tag IS present OR type = pull_request OR (branch = master AND type = push)   # we only CI the master, tags and PRs

group: travis_latest
language: python
dist: xenial
sudo: required
cache: pip

env:
  TOXENV=py
  PYTEST_XDIST_PROC_NR=0

jobs:
  include:
  - python: 3.8-dev
  - python: pypy   # 2.7.13 pip  9.0.1
    dist: trusty
  - python: pypy3  # 3.5.3  pip  9.0.1
    dist: trusty

matrix:
  fast_finish: true
  allow_failures:
  - python: 3.8-dev
  - python: pypy
  - python: pypy3


before_install:
- python -c 'import sys; print(sys.version)'

install:
- pip install --pre -U tox
- tox --notest

script:
- tox

after_success:
- tox -e coverage,codecov