Skip to content

Commit

Permalink
More output to debug maven jar script on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
msridhar committed May 25, 2016
1 parent 1cf922b commit c3472ef
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ before_install:
- "popd"
- "mkdir -p $TRAVIS_BUILD_DIR/com.ibm.wala.dalvik.test/lib"
- "find /usr/local -name dx.jar -exec cp '{}' $TRAVIS_BUILD_DIR/com.ibm.wala.dalvik.test/lib/dx.jar ';'"
install: mvn clean verify -DskipTests=true -B -q
install:
- ./build-maven-jars.py "install -Dgpg.skip"
- mvn clean verify -DskipTests=true -B -q
script:
- mvn clean verify -B -q
- ./build-maven-jars.py "install -Dgpg.skip"
sudo: false
cache:
directories:
Expand Down
7 changes: 6 additions & 1 deletion build-maven-jars.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
print full_proj
os.chdir(full_proj)
mvnCmd = "mvn -f mvncentral.xml clean " + action
subprocess.check_output(mvnCmd, shell=True)
try:
subprocess.check_output(mvnCmd, shell=True)
except subprocess.CalledProcessError as e:
print "OUTPUT"
print e.output
raise
os.chdir("..")

0 comments on commit c3472ef

Please sign in to comment.