travis: add matrix switch on XML parser
This commit is contained in:
parent
ab85fb4705
commit
30c6bc53fb
1 changed files with 6 additions and 1 deletions
|
@ -7,6 +7,11 @@ compiler:
|
|||
- clang
|
||||
- gcc
|
||||
|
||||
env:
|
||||
matrix:
|
||||
- XMLPARSER="libxml2"
|
||||
- XMLPARSER="ptree"
|
||||
|
||||
before_install:
|
||||
- sudo add-apt-repository -y ppa:boost-latest/ppa
|
||||
- sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
|
||||
|
@ -14,7 +19,7 @@ before_install:
|
|||
- sudo apt-get install -y make libgdal-dev boost1.55 python-nose libicu-dev libpng-dev libjpeg-dev libtiff-dev libwebp-dev libz-dev libfreetype6-dev libxml2-dev libproj-dev libcairo-dev python-cairo-dev libsqlite3-dev
|
||||
|
||||
script:
|
||||
- ./configure CXX=${CXX} CC=${CC} DEBUG=False DEMO=False BINDINGS='python' CPP_TESTS=True CAIRO=True FAST=True && JOBS=2 make
|
||||
- ./configure CXX=${CXX} CC=${CC} XML_PARSER=$XML_PARSER DEBUG=False DEMO=False BINDINGS='python' CPP_TESTS=True CAIRO=True FAST=True && JOBS=2 make
|
||||
- make test-local
|
||||
|
||||
notifications:
|
||||
|
|
Loading…
Add table
Reference in a new issue