Skip to content

Commit

Permalink
fix cache
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylong committed Sep 7, 2020
1 parent 24bd1fe commit b27ca47
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,14 @@ matrix:
env:
- JDK="JDK8"
script:
- if [ ! -z "$TRAVIS_TAG" ]; then travis_wait 60 mvn -s settings.xml install site site:stage -DreleaseTesting -Danalyzer.node.package.enabled=false -Danalyzer.node.audit.enabled=false; else travis_wait 60 mvn -s settings.xml install -DreleaseTesting -Danalyzer.node.package.enabled=false -Danalyzer.node.audit.enabled=false; fi
- if [ ! -z "$TRAVIS_TAG" ]; then
travis_wait 60 mvn -s settings.xml install site site:stage -DreleaseTesting -Danalyzer.node.package.enabled=false -Danalyzer.node.audit.enabled=false;
else
rm -rf core/target/data;
rm -rf maven/target/local-repo/org/owasp/dependency-check-data
rm -rf $HOME/.m2/repository/org/owasp/dependency-check-data
travis_wait 60 mvn -s settings.xml install -DreleaseTesting -Danalyzer.node.package.enabled=false -Danalyzer.node.audit.enabled=false;
fi

after_success:
- if [ "$JDK" == "JDK8" ]; then
Expand Down

0 comments on commit b27ca47

Please sign in to comment.