Skip to content

Commit

Permalink
travis: only test node-mapnik binaries (give up on PPA testing due to…
Browse files Browse the repository at this point in the history
… travis postgis conflicts I don't have the patience to debug)
  • Loading branch information
Dane Springmeyer committed Jun 16, 2014
1 parent bd21d69 commit b69b633
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,33 @@ addons:
before_install:
- createdb template_postgis
- psql -c "CREATE EXTENSION postgis" template_postgis
- npm install mocha -g

install:
- npm install
- npm ls
- npm test

before_script:
- sudo apt-add-repository --yes ppa:mapnik/v2.2.0
- sudo apt-add-repository --yes ppa:mapnik/nightly-2.3
- true
# testing against mapnik PPA disabled due to travis conflict over postgis
# that leads to error like `could not access file "$libdir/postgis-2.1": No such file or directory`
#- sudo apt-add-repository --yes ppa:mapnik/v2.2.0
#- sudo apt-add-repository --yes ppa:mapnik/nightly-2.3
#- sudo apt-add-repository --yes ppa:mapnik/nightly-trunk
- sudo apt-get update -qq
- sudo apt-get -qq install libprotobuf7 libprotobuf-dev protobuf-compiler g++ gcc
- sudo apt-get -qq install libmapnik=2.2.0* mapnik-utils=2.2.0* libmapnik-dev=2.2.0*
- npm install --build-from-source
- npm ls
- npm test
- sudo apt-get purge libmapnik=2.2.0* mapnik-utils=2.2.0* libmapnik-dev=2.2.0*
#- sudo apt-get update --yes
#- sudo apt-get --yes install libprotobuf7 libprotobuf-dev protobuf-compiler g++ gcc
#- sudo apt-get -qq install libmapnik=2.2.0* mapnik-utils=2.2.0* libmapnik-dev=2.2.0*
#- rm -rf ./node_modules/
#- npm install --build-from-source
#- npm test
#- sudo apt-get purge libmapnik=2.2.0* mapnik-utils=2.2.0* libmapnik-dev=2.2.0*

script:
- sudo apt-get -qq install libmapnik=2.3.0* mapnik-utils=2.3.0* libmapnik-dev=2.3.0* mapnik-input-plugin*
- rm -rf ./node_modules/
- npm install --build-from-source
- npm ls
- npm test
- sudo apt-get purge libmapnik=2.3.0* mapnik-utils=2.3.0* libmapnik-dev=2.3.0* mapnik-input-plugin*
- true
#- sudo apt-get --yes install libmapnik=2.3.0* mapnik-utils=2.3.0* libmapnik-dev=2.3.0* mapnik-input-plugin*
#- rm -rf ./node_modules/
#- npm install --build-from-source
#- npm test
#- sudo apt-get --yes purge libmapnik=2.3.0* mapnik-utils=2.3.0* libmapnik-dev=2.3.0* mapnik-input-plugin*
#- sudo apt-get -qq install libmapnik=3.0.0* mapnik-utils=3.0.0* libmapnik-dev=3.0.0* mapnik-input-plugin*
#- rm -rf ./node_modules/
#- npm install --build-from-source
Expand Down

0 comments on commit b69b633

Please sign in to comment.