forked from arrow-py/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (43 loc) · 1.16 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
language: python
dist: bionic
matrix:
include:
- name: "Python 2.7"
python: "2.7"
env: TOXENV=py27
before_install: pip install --upgrade pip
install: pip install -U codecov tox
- name: "Python 3.5"
dist: xenial
python: "3.5"
env: TOXENV=py35
- name: "Python 3.6"
python: "3.6"
env: TOXENV=py36
- name: "Python 3.7"
python: "3.7"
env: TOXENV=py37
- name: "Python 3.7 on macOS"
os: osx
osx_image: xcode11
language: shell # 'language: python' is an error on Travis CI macOS
env: TOXENV=py37
- name: "Python 3.7 on Windows"
os: windows
language: shell # 'language: python' is an error on Travis CI Windows
before_install:
- choco install python --version 3.7.5
- python -m pip install --upgrade pip
env:
- PATH=/c/Python37:/c/Python37/Scripts:$PATH
- TOXENV=py37
- name: "Python 3.8"
python: "3.8"
env: TOXENV=py38
- name: "Linting"
python: "3.7"
env: TOXENV=lint,docs
before_install: pip3 install --upgrade pip
install: pip3 install -U codecov tox
script: tox
after_success: codecov