Travis: debug JOBS in DEBUG mode
This commit is contained in:
parent
98f89ce2fd
commit
e55e606025
1 changed files with 5 additions and 3 deletions
|
@ -47,9 +47,11 @@ 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
|
||||
- make test
|
||||
- source localize.sh && make grind
|
||||
- if [[ ${BENCHMARK} != False ]]; then make bench; fi;
|
||||
|
|
Loading…
Reference in a new issue