blob: 9729c3b72836553d825dc435c5d4b7ba0e429605 (
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
|
language: python
stages:
- linting
- test
python:
- '2.7'
- '3.7'
dist: xenial # needed for 3.7+
env:
- TOXENV=py-test
jobs:
include:
- stage: linting
name: check readme
python: '3.6'
env: TOXENV=check_readme
- stage: test
python: '2.7'
env: SELFINSTALL=1
- stage: test
python: '3.6'
env: SELFINSTALL=1
cache:
directories:
- $HOME/.cache/pip
- $HOME/.cache/pre-commit
install: pip install tox
script:
- python testing/runtests_travis.py
|