This is an automated email from the ASF dual-hosted git repository. pdallig pushed a commit to branch test_refactoring in repository https://gitbox.apache.org/repos/asf/zeppelin.git
commit df9f174f5920032cd749c9ed7711af9cb7285103 Author: Philipp Dallig <[email protected]> AuthorDate: Fri Aug 28 09:20:44 2020 +0200 Remove bower_components cache --- .travis.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7018b97..52b8016 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,7 +26,6 @@ cache: - ${HOME}/R - zeppelin-web/node - zeppelin-web/node_modules - - zeppelin-web/bower_components env: global: @@ -224,16 +223,6 @@ jobs: - "R=true PYTHON=3 bash -x ./testing/install_external_dependencies.sh" - source ~/.environ -before_install: - # check files included in commit range, clear bower_components if a bower.json file has changed. - # bower cache clearing can also be forced by putting "bower clear" or "clear bower" in a commit message - - changedfiles=$(git diff --name-only $TRAVIS_COMMIT_RANGE 2>/dev/null) || changedfiles="" - - echo $changedfiles - - hasbowerchanged=$(echo $changedfiles | grep -c "bower.json" || true); - - gitlog=$(git log $TRAVIS_COMMIT_RANGE 2>/dev/null) || gitlog="" - - clearcache=$(echo $gitlog | grep -c -E "clear bower|bower clear" || true) - - if [ "$hasbowerchanged" -gt 0 ] || [ "$clearcache" -gt 0 ]; then echo "Clearing bower_components cache"; rm -r zeppelin-web/bower_components; npm cache verify; else echo "Using cached bower_components."; fi - install: - echo "mvn $BUILD_FLAG $MODULES $PROFILE -B" - mvn $BUILD_FLAG $MODULES $PROFILE -B
