Travis: debug JOBS in DEBUG mode

This commit is contained in:
Dane Springmeyer 2014-09-30 19:19:25 -07:00
parent 98f89ce2fd
commit e55e606025

View file

@ -47,8 +47,10 @@ before_script:
script:
- ./configure CXX="${CXX}" CC="${CC}" CUSTOM_CXXFLAGS="${CUSTOM_CXXFLAGS}" CUSTOM_LDFLAGS="${CUSTOM_LDFLAGS}" XML_PARSER="${XML_PARSER}" ENABLE_LOG="${ENABLE_LOG}" DEBUG="${DEBUG}" DEMO="${DEMO}" BENCHMARK="${BENCHMARK}" CPP_TESTS=True CAIRO=True FAST=True || cat config.log
- if [[ "${DEBUG}" == true ]]; then JOBS=$((JOBS/3)); fi;
- JOBS=${JOBS} make;
- echo $JOBS
- if [[ "${DEBUG}" == true ]]; then export JOBS=$((JOBS/3)); fi;
- echo $JOBS
- make
- git clone https://github.com/mapbox/mapnik-test-data tests/data/mapnik-test-data
- make test
- source localize.sh && make grind