sudo: required install: true script: ./travis.sh dist: bionic branches: except: - /^dogfood\/.*$/ - public_master matrix: fast_finish: true cache: directories: - $HOME/.sonar - $HOME/jvm - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ - rm -fr $HOME/.gradle/caches/*/fileHashes/ - rm -fr $HOME/.gradle/caches/*/scripts/ # We remove outdated OpenJDK 11.0.2 which is hardcoded here https://github.com/travis-ci/travis-cookbooks/blob/master/cookbooks/travis_jdk/files/install-jdk.sh#L200 # And we install openjdk-11-jdk-headless Ubuntu package. This way we are not stuck at 11.0.2 version. # For more context please visit: # - https://travis-ci.community/t/old-java-version-in-bionic/4726 # - https://travis-ci.community/t/use-latest-java-point-versions-from-ubuntu-packages-instead-of-hard-coding-old-fix-versions-from-java-net-in-install-jdk-sh/8518 # - https://github.com/apache/fineract/pull/846/commits/3997f54cfd7e635938e21877c9b0ff757134a8ee before_install: - echo $JAVA_HOME - which java - sudo rm -rf /usr/local/lib/jvm/ - sudo apt-get install -y openjdk-11-jdk-headless - export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64/ - which java - java -version - $JAVA_HOME/bin/java -version - nvm install 14 - nvm use 14 notifications: email: false webhooks: - secure: "jxB1WXSY7zyW7un8mNtFuasV1ucEA5J3FvrlcOHVlaQaMPYV2/YjJNHdH4R0xzkmxy3D5pch2WZo4+sNB+8F3bQOCLQgYWVo0PrF635+6Bnah3tY7LX958WBuu3LPX9tlH+vRssi9gwj2SsqL0JAW+t1AbvHQsEhIfIudEc2VtxA2gHaKeNnvzbpCIs865k8OXkA7a2udlW0yIjri7VO9KJai2hAiKRIBojmrye8fY7Hin/4rA2yBwMMo8JmxIqLXqJOF0EYRyTnFVCxuRFvnDrgSP9pOLt4GQx37k2YPOzwxohziZ1xABMH2Hxx9tq/ynrqACJI0VlktKzCmNoeeSDknnd2erRvBH/n3i54RSP2GXbaB5XUt4l9i9/D4YqPSihrfnSRHk0ct8rcDGRW8nhCVJtsRX0w1Pde05YMshtHJCJXlmx5f6VJWbhBXjIjCbkN2k7guIGoK7cMsOQ5tPOadqYQ4JsXuD4/m2qH1uYvKQE+pplS9zGSBZFTi9Br3QfB5W1rsj4hLubUOd01kQiOIYAnHDfLVicbq3SSIT+H9YZQ80qxcx/ibDnLfhrX02jmswdfzc/hX7OdUh4l8QNS7LyxVe9y/0p5+9iQ0F62AZD6SBXGsZNtufqBruNX7qwT2vJ2tuDOP+zW0gnvNvLMnENw8JH2K2j4lv04pRw=" slack: secure: PCekbN71ZmuOt82JUFmlhzxlx3wrXucSIpvxxWdZn9lfsPYQAtXCoOESaHjIVIpggsC5HSAic3HiedsWbuDk/XojmPrDCrfjgYG2wiuSuQlAa60WvzTPqXdRmUXyMQgItaAQbRfZP7kN9No/v8TZDfg5kT3i9ewy0bsfExpjAuo= on_start: always after_failure: - source ./.travis/setup_environment.sh - notify_burgr "build" "build" "$TRAVIS_JOB_WEB_URL" "$(cat /tmp/build_start_time)" "$(date --utc +%FT%TZ)" "failed" || true