forked from arrow-py/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
26 lines (26 loc) · 833 Bytes
/
.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
language: python
dist: xenial
matrix:
include:
- python: 2.7
- python: 3.5
- python: 3.6
- python: 3.7
- python: 3.8-dev
- name: "Linting"
python: 3.7
env: TARGET=lint-ci
cache:
directories:
- $HOME/.cache/pre-commit
allow_failures:
- python: 3.8-dev
before_install: pip install -U codecov
install:
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then make build27; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.5' ]]; then make build35; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then make build36; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.7' ]]; then make build37; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.8-dev' ]]; then make build38; fi
script: make "${TARGET:-test}"
after_success: codecov