travis: tune JOBS

This commit is contained in:
Dane Springmeyer 2014-09-30 19:08:26 -07:00
parent eda8c3336b
commit 7e8275a283

View file

@ -47,7 +47,7 @@ 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/2)); fi;
- if [[ "${DEBUG}" == true ]]; then JOBS=$((JOBS/3)); fi;
- JOBS=${JOBS} make;
- git clone https://github.com/mapbox/mapnik-test-data tests/data/mapnik-test-data
- make test