From df7c4131b57729bded469101af1339da373cdf43 Mon Sep 17 00:00:00 2001 From: Adam Dunkels Date: Wed, 20 Nov 2013 23:13:33 +0100 Subject: [PATCH] After travis updated to jdk 1.7.0_45 we have to run java -Xshare:dump before running the Cooja tests --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 594033ea8..50ddbc04c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,7 +29,7 @@ before_script: export CC65_HOME=/tmp/cc65/ && cc65 --version || true" ## Compile cooja.jar only when it's going to be needed - - "[ ${BUILD_CATEGORY:-sim} = sim ] && java -version && ant -q -f tools/cooja/build.xml jar || true" + - "[ ${BUILD_CATEGORY:-sim} = sim ] && java -version && ant -q -f tools/cooja/build.xml jar && sudo java -Xshare:dump -version || true" ## IMPORTANT: The commands here have to end with `|| true`, ## because it would make the test fail if BUILD_TYPE test fails