forked from ECCC-MSC/pynumeric
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (29 loc) · 953 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
language: python
virtualenv:
system_site_packages: true
addons:
apt:
packages:
- pandoc
python:
- "2.7"
- "3.4"
install:
- sudo apt-get update
- sudo apt-get install -y python-software-properties
- sudo add-apt-repository -y ppa:ubuntugis/ppa
- sudo apt-get update
- sudo apt-get install -y gdal-bin libgdal20 libgdal-dev python-gdal python3-gdal
- pip install -r requirements-dev.txt
- pip install coveralls
- python setup.py install
script:
- python setup.py test
- find . -type f -name "*.py" | xargs flake8
- python setup.py --long-description | rst2html5.py
- pynumeric export -f pynumeric/tests/201611212330:PRECIPET,125,18,MPRATE_QPE,PRECIPET_QC_PARAMETERS_CMC:PRECIPET_NUMERIC_MMHR_WHK -o /tmp/test-output.tif -of GTiff
after_success:
- coverage run --source=pynumeric -m unittest pynumeric.tests.run_tests
- coverage report -m
- coveralls
- python setup.py sdist bdist_wheel --universal