generated from repros-dev/repro-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (25 loc) · 1.01 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
language: python
python:
# Python 3.4 is the latest version compatible with Travis CI when
# system_site_packages is true. If Python 3.5 or higher is selected,
# the tests will not be able to access Python packages installed system-wide.
- "3.4"
virtualenv:
# Allow tests running in the Python virtual environment that is mandatory on
# Travis CI to access packages installed in the system-wide Python environment.
# This is needed because the Python packages for working with GDAL depend on
# shared GDAL libraries installed outside the virtual environment.
system_site_packages: true
before_install:
# Install gdal libraries and python3 bindings using the latest python3-gdal
# package provided by the ubuntugis personal package archive
- sudo add-apt-repository -y ppa:ubuntugis/ppa
- sudo apt-get update
- sudo apt install -y python3-gdal
install:
- pip install pylint
- pip install ./python/skope
- pip install ./python/skope_service
script:
- pylint -v python
- pytest -v python