Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Trying to cache sonar scanner plugins
  • Loading branch information
jgebal committed Sep 21, 2018
commit a24c9aa51473d1fc9d36db64f98e96311c71745c
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,14 @@ cache:
pip: true
directories:
- $CACHE_DIR
- /home/travis/.sonar/cache
- node_modules
- $MAVEN_CFG

before_install:
#cache to be used between stages. Based on https://github.com/travis-ci/docs-travis-ci-com/issues/1329
#delete all files in cache that are older than 5 days
- mkdir -p $CACHE_DIR/stages_cache; find $CACHE_DIR/stages_cache/ -mtime +5 -exec rm {} \;
#The update_project_version.sh is done before deployment to validate that the change of project files does not break installation
- bash .travis/update_project_version.sh
#Allow for sonar to blame issues
Expand Down
2 changes: 1 addition & 1 deletion .travis/run_sonar_scanner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ else
fi

#Execute Sonar scanner
sonar-scanner -Dsonar.exclusions=**
sonar-scanner