diff --git a/.travis.yml b/.travis.yml index 7a4b4a6dc..b2b163773 100644 --- a/.travis.yml +++ b/.travis.yml @@ -45,7 +45,7 @@ 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 export JOBS=$((JOBS/2)); fi; - make - - git clone https://github.com/mapbox/mapnik-test-data tests/data/mapnik-test-data + - git clone --depth=1 https://github.com/mapbox/mapnik-test-data tests/data/mapnik-test-data - make test - source localize.sh && make grind - if [[ ${BENCHMARK} != False ]]; then make bench; fi; diff --git a/tests/python_tests/mapnik_test_data_test.py b/tests/python_tests/mapnik_test_data_test.py index 8fc1cf25f..df0b8379a 100644 --- a/tests/python_tests/mapnik_test_data_test.py +++ b/tests/python_tests/mapnik_test_data_test.py @@ -36,7 +36,7 @@ def test_opening_data(): for filepath in files: ext = os.path.splitext(filepath)[1] if plugin_mapping.get(ext): - print 'testing opening %s' % filepath + #print 'testing opening %s' % filepath if 'topo' in filepath: kwargs = {'type': 'ogr','file': filepath} kwargs['layer_by_index'] = 0 @@ -53,8 +53,8 @@ def test_opening_data(): ds = mapnik.Datasource(**kwargs) except Exception, e: print 'could not open, %s: %s' % (kwargs,e) - else: - print 'skipping opening %s' % filepath + #else: + # print 'skipping opening %s' % filepath if __name__ == "__main__": setup()