forked from Mindwerks/worldengine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
52 lines (45 loc) · 1.24 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
language: python
python: 2.7
os:
- linux
- osx
dist: trusty
sudo: required
cache:
- pip
- apt
env:
- TOX_ENV=py27
- TOX_ENV=py34
- TOX_ENV=pypy
- TOX_ENV=pyflakes
- TOX_ENV=manifest
matrix:
fast_finish: true
allow_failures:
- os: osx
- env: TOX_ENV=pypy
install:
- dpkg -l
- sudo rm -fr /opt/python/pypy-2.6.1 /opt/python/pypy3-2.4.0 /usr/local/pypy/bin
- echo "yes" | sudo apt-add-repository ppa:psi29a/trusty
- echo "yes" | sudo apt-add-repository ppa:pypy/ppa
- sudo apt-get update
- sudo apt-get remove -y libgdal1h postgresql-9.1-postgis-2.1 postgresql-9.2-postgis-2.1 postgresql-9.3-postgis-2.1 liblwgeom-2.1.8
- sudo apt-get install -y libhdf5-dev pypy pypy-dev libgdal1-dev gdal-bin
- echo "libgdal version `gdal-config --version`"
- echo "GCC version `gcc --version` @ `which gcc`"
- echo "Python version `python --version` @ `which python`"
- echo "PyPy version `pypy --version` @ `which pypy`"
- pip install pip --upgrade
- pip install tox codecov coveralls
- git clone https://github.com/Mindwerks/worldengine-data.git ../worldengine-data
- dpkg -l
# # command to run tests
script:
- tox -e $TOX_ENV
notifications:
email: false
after_success:
- coveralls
- codecov