File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,10 +58,14 @@ cache:
5858 pip : true
5959 directories :
6060 - $CACHE_DIR
61+ - /home/travis/.sonar/cache
6162 - node_modules
6263 - $MAVEN_CFG
6364
6465before_install :
66+ # cache to be used between stages. Based on https://github.com/travis-ci/docs-travis-ci-com/issues/1329
67+ # delete all files in cache that are older than 5 days
68+ - mkdir -p $CACHE_DIR/stages_cache; find $CACHE_DIR/stages_cache/ -mtime +5 -exec rm {} \;
6569 # The update_project_version.sh is done before deployment to validate that the change of project files does not break installation
6670 - bash .travis/update_project_version.sh
6771 # Allow for sonar to blame issues
Original file line number Diff line number Diff line change 5353fi
5454
5555# Execute Sonar scanner
56- sonar-scanner -Dsonar.exclusions= **
56+ sonar-scanner
You can’t perform that action at this time.
0 commit comments