mapnik/.travis.yml

36 lines
1.4 KiB
YAML
Raw Normal View History

2012-09-02 13:48:49 +02:00
language: cpp
2015-01-23 23:21:54 +01:00
sudo: false
2014-08-22 01:36:55 +02:00
# travis + ubuntugis with gdal and postggis leads to many potential dead-end conflicts
# the below is thanks to https://github.com/CartoDB/Windshaft/blob/d82fe08b32fc7907bbe907ab290f8a082215ae26/.travis.yml#L1
2012-09-02 13:48:49 +02:00
before_install:
2014-08-22 01:36:55 +02:00
- export PGUSER=postgres
2015-01-23 23:21:54 +01:00
#- sudo mv /etc/apt/sources.list.d/pgdg-source.list* /tmp
#- sudo apt-get -qq purge postgis* postgresql*
#- sudo apt-add-repository -y ppa:cartodb/postgresql-9.3
# enable to test against latest boost rather that v1.48
#- sudo add-apt-repository -y ppa:boost-latest/ppa
2015-01-23 23:21:54 +01:00
#- sudo rm -Rf /var/lib/postgresql /etc/postgresql
#- sudo apt-get update -qq
#- sudo apt-get install -q postgresql-9.3-postgis-2.1 postgresql-contrib-9.3
#- echo -e "local\tall\tall\ttrust\nhost\tall\tall\t127.0.0.1/32\ttrust\nhost\tall\tall\t::1/128\ttrust" |sudo tee /etc/postgresql/9.3/main/pg_hba.conf
#- sudo service postgresql restart
2014-08-22 01:36:55 +02:00
install:
# enable to test against boost ppa
2015-01-23 23:21:54 +01:00
#- sudo apt-get install -y ttf-wqy-microhei make valgrind python-nose
2014-08-22 01:36:55 +02:00
before_script:
- psql -U postgres -c 'create database template_postgis'
- psql -U postgres -c 'create extension postgis' -d template_postgis
2013-11-22 09:52:49 +01:00
2014-08-22 02:01:51 +02:00
script:
- source bootstrap.sh
2015-01-24 08:01:08 +01:00
- cat config.log
2015-01-24 07:57:45 +01:00
- JOBS=4 make
2014-10-21 07:43:17 +02:00
- git clone --depth=1 https://github.com/mapbox/mapnik-test-data tests/data/mapnik-test-data
2014-10-01 04:19:25 +02:00
- make test
2015-01-23 23:21:54 +01:00
#- source localize.sh && make grind
- make bench