disable benchmarks from running on travis - refs #3351

This commit is contained in:
Dane Springmeyer 2016-03-04 12:36:57 -08:00
parent c80c7d27bb
commit 37b26c28b6
2 changed files with 4 additions and 1 deletions

View file

@ -23,7 +23,7 @@ matrix:
- os: linux - os: linux
sudo: false sudo: false
compiler: ": clang" compiler: ": clang"
env: JOBS=8 MASON_PUBLISH=true CXX="ccache clang++-3.5 -Qunused-arguments" CC="clang-3.5" BENCH=True env: JOBS=8 MASON_PUBLISH=true CXX="ccache clang++-3.5 -Qunused-arguments" CC="clang-3.5"
addons: addons:
apt: apt:
sources: [ 'ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.5' ] sources: [ 'ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.5' ]

View file

@ -29,6 +29,8 @@ run test_face_ptr_creation 10 1000
run test_font_registration 10 100 run test_font_registration 10 100
run test_offset_converter 10 1000 run test_offset_converter 10 1000
# commented since this is really slow on travis
: '
./benchmark/out/test_rendering \ ./benchmark/out/test_rendering \
--name "text rendering" \ --name "text rendering" \
--map benchmark/data/roads.xml \ --map benchmark/data/roads.xml \
@ -37,6 +39,7 @@ run test_offset_converter 10 1000
--height 600 \ --height 600 \
--iterations 20 \ --iterations 20 \
--threads 10 --threads 10
'
./benchmark/out/test_rendering \ ./benchmark/out/test_rendering \
--name "gdal tiff rendering" \ --name "gdal tiff rendering" \