Skip to content

Commit be52585

Browse files
authored
Merge pull request mvexel#132 from eumiro/fix-travis
Fix and modernize Travis CI
2 parents ff51d63 + 339c457 commit be52585

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

.travis.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
language: python
22
python:
3-
- "3.4"
4-
- "3.5"
5-
- "3.6"
6-
- "3.7"
7-
- "3.8"
3+
- 3.6
4+
- 3.7
5+
- 3.8
6+
- 3.9
87
install:
9-
- "pip install ."
10-
# command to run tests
11-
script: py.test
8+
- sudo apt-get install libgeos-dev
9+
- pip install -r requirements-dev.txt
10+
- pip install -r requirements.txt
11+
script: python -m pytest
1212
notifications:
1313
email: false

requirements-dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pytest>=6.2.0

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@
1313
keywords=["openstreetmap", "overpass", "wrapper"],
1414
classifiers=[
1515
"License :: OSI Approved :: Apache Software License",
16-
"Programming Language :: Python :: 3.5",
1716
"Programming Language :: Python :: 3.6",
1817
"Programming Language :: Python :: 3.7",
18+
"Programming Language :: Python :: 3.8",
19+
"Programming Language :: Python :: 3.9",
1920
"Topic :: Scientific/Engineering :: GIS",
2021
"Topic :: Utilities",
2122
],

0 commit comments

Comments
 (0)