forked from geopy/geopy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
54 lines (44 loc) · 917 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
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
language: python
dist: xenial
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8-dev"
- "pypy"
- "pypy3"
matrix:
allow_failures:
- python: "3.8-dev"
before_install:
- travis_retry pip install -U pip wheel setuptools
install:
- travis_retry pip install -e ".[timezone]"
stages:
- lint
- rst
- test
# Used in the `test` stage.
before_script:
- travis_retry pip install -e ".[dev-test]"
script:
- make test
jobs:
include:
- stage: lint
name: "Linting"
python: "3.7"
before_script:
- travis_retry pip install -e ".[dev-lint]"
script:
- make lint
- stage: rst
name: "RST (README.rst + docs) syntax check"
python: "3.7"
before_script:
- travis_retry pip install -e ".[dev-docs]"
script:
- make rst_check
# The `test` stage using the `python` matrix above is included implicitly.