try another path for travis

This commit is contained in:
Julian Dolby 2015-02-27 23:03:56 -05:00
parent 518783d200
commit 1816ee9744
2 changed files with 3 additions and 5 deletions

View File

@ -2,8 +2,9 @@ language: java
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- pushd /tmp
- "git clone https://github.com/secure-software-engineering/DroidBench.git"
- "export DROID_BENCH_ROOT=`pwd`/DroidBench"
- popd
install: mvn clean verify -DskipTests=true -B -q
script: mvn clean verify -B -q
sudo: false

View File

@ -131,10 +131,7 @@ public class DroidBenchCGTest extends DalvikCallGraphTestBase {
if (f == null || !new File(f).exists()) {
f = System.getProperty("user.dir") + "/../../DroidBench";
if (! new File(f + "/apk/").exists()) {
f = System.getProperty("user.dir") + "/../../../DroidBench";
if (! new File(f + "/apk/").exists()) {
f = System.getProperty("user.dir") + "/../../../../DroidBench";
}
f = "/tmp/DroidBench";
}
}