forked from makinacorpus/landez
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
27 lines (26 loc) · 838 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
language: python
python:
- 3.5
before_install:
- deactivate
- sudo apt-get install -y python-software-properties
- sudo add-apt-repository ppa:mapnik/nightly-trunk
- sudo apt-get update
- sudo add-apt-repository ppa:mapnik/nightly-trunk
- sudo apt-get update
- sudo apt-get install libmapnik libmapnik-dev mapnik-utils python-mapnik
- sudo apt-get install mapnik-input-plugin-gdal mapnik-input-plugin-ogr mapnik-input-plugin-postgis
mapnik-input-plugin-sqlite mapnik-input-plugin-osm
- virtualenv --system-site-packages venv -p python3
- source venv/bin/activate
- pip install -r requirements.txt
install:
- python setup.py develop
before_script:
- pip install nose
- pip install coverage
script:
- nosetests --with-coverage --cover-package=landez
after_success:
- pip install coveralls
- coveralls