-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
83 lines (67 loc) · 1.8 KB
/
.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# TODO see this https://blog.ionelmc.ro/2014/05/25/python-packaging/
# TODO see https://github.com/google/googletest/blob/master/.travis.yml
# Build matrix / environment variable are explained on:
# http://about.travis-ci.org/docs/user/build-configuration/
# This file can be validated on:
# http://lint.travis-ci.org/
language: python
# need to use trusty because python3-pip requires 14.04+
matrix:
include:
#- os: linux
# dist: trusty
# sudo: required
# python: 3.8-dev
# env: PY=3.8
- os: linux
dist: trusty
sudo: required
python: 3.7-dev
env: PY=3.7
- os: linux
dist: trusty
sudo: required
python: 3.6
env: PY=3.6
# drop support for 3.5 and less. we use f-strings, introduced in 3.6
#- os: linux
# dist: trusty
# sudo: required
# python: 3.5
# env: PY=3.5
#- os: linux
# dist: trusty
# sudo: required
# python: 3.4
# env: PY=3.4
# disable tests for 3.3:
# * pip is no longer supporting python 3.3: https://pip.pypa.io/en/stable/installing/
# * 3.3 development ceased 2017: https://lwn.net/Articles/733165/
#- os: linux
# dist: trusty
# sudo: required
# python: 3.3
# env: PY=3.3
# OS X tests are *very* slow. enable only one.
#- os: osx
# language: generic
# env: PY=3.7 PYENV=3.7-dev
#- os: osx
# language: generic
# env: PY=3.6 PYENV=3.6.1
- os: osx
language: generic
env: PY=3.6 PYENV=3.6.1
#- os: osx
# language: generic
# env: PY=3.4 PYENV=3.4.1
#- os: osx
# language: generic
# env: PY=3.3 PYENV=3.3.1
# command to install dependencies
install:
- ./.ci/travis_install.sh
# command to run tests
script: ./.ci/travis_test.sh
after_success:
- cd ./test && codecov