try to trigger WALA Client

This commit is contained in:
Julian Dolby 2017-07-24 14:03:06 +00:00
parent fb6f5df424
commit 1e95dbcdd4
2 changed files with 25 additions and 7 deletions

View File

@ -5,15 +5,19 @@ addons:
packages:
- realpath
before_install:
- "git clone --depth=1 https://github.com/secure-software-engineering/DroidBench.git /tmp/DroidBench"
- git clone --depth=1 https://github.com/secure-software-engineering/DroidBench.git
/tmp/DroidBench
install:
- mvn clean verify -DskipTests=true -B -q
- mvn clean verify -DskipTests=true -B -q
script:
- xvfb-run mvn clean verify -B -q
- jdk_switcher use oraclejdk7
- ./build-maven-jars.py "install -Dgpg.skip"
- xvfb-run mvn clean verify -B -q
- bash ./dependent-projects-trigger.sh $AUTH_TOKEN
- jdk_switcher use oraclejdk7
- ./build-maven-jars.py "install -Dgpg.skip"
sudo: false
cache:
directories:
- $HOME/.m2
- $TRAVIS_BUILD_DIR/com.ibm.wala.core.testdata/ocaml/ocamljava-2.0-alpha1/lib
- "$HOME/.m2"
- "$TRAVIS_BUILD_DIR/com.ibm.wala.core.testdata/ocaml/ocamljava-2.0-alpha1/lib"
env:
secure: KcugjQYnBqeZ7XenZD5QY7jhekVPO0QpQyjDUteLytaokhyRK2g6eNvr/pPerN2uWUvsPwO18P9F+oOupge1cpPZf4cEY8RzLIromyUoRWd6JA0SKciUYdN2kSqnC4uZSJGXeGLoroyEEL4Q2sqimpkbIGxgxYtVniWgJULOyR4=

View File

@ -0,0 +1,14 @@
#!/bin/bash
body='{
"request": {
"branch":"master"
}}'
curl -s -X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Travis-API-Version: 3" \
-H "Authorization: token $1" \
-d "$body" \
https://api.travis-ci.org/repo/wala%2FClient/requests