From 5bf62a389c242364ec87d200ae845aba0ea5a721 Mon Sep 17 00:00:00 2001 From: Szczepan Faber Date: Mon, 11 Jan 2021 10:19:41 -0600 Subject: [PATCH] Travis -> GH Actions Removed Travis configuration file as we have moved to GH Actions --- .travis.yml | 66 ----------------------------------------------------- 1 file changed, 66 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 8cbbd48314..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,66 +0,0 @@ -# -# TRAVIS BUILD IS DEPRECATED -# -# WE ARE MOVING TO GH ACTIONS -# -# PLEASE DO NOT UPDATE THIS FILE ANY MORE -# -# This file can be removed once we have enough builds with GH Actions, likely Jan'21 -# See: https://github.com/mockito/mockito/issues/2080 -# - -# Speed up build by leveraging travis caches -cache: - directories: - - $HOME/.gradle/caches/ - - $HOME/.gradle/wrapper/ - -# Enabling container based infrastructure hoping it will help the build speed <= this didn't work well, so it's reverted -# see https://docs.travis-ci.com/user/migrating-from-legacy/ and https://docs.travis-ci.com/user/ci-environment -sudo: true - -language: java - -dist: trusty - -matrix: - include: - - jdk: openjdk8 - - jdk: openjdk8 - env: SKIP_RELEASE=true MOCK_MAKER=mock-maker-inline - - jdk: openjdk11 - env: SKIP_RELEASE=true - - jdk: openjdk11 - env: SKIP_RELEASE=true MOCK_MAKER=mock-maker-inline - - jdk: openjdk15 - env: SKIP_RELEASE=true - - jdk: openjdk15 - env: SKIP_RELEASE=true MOCK_MAKER=mock-maker-inline - # Run Spotless as a separate job on JDK 11 (which is required for google-java-format) - - jdk: openjdk11 - name: "Verify code formatting with Spotless. Run './gradlew spotlessApply' locally if this job fails." - script: ./gradlew spotlessCheck - # Do not upload a coverage report, as we don't run the tests for this job - after_success: true - - jdk: openjdk8 - name: "Check reproducibility of jars" - script: ./check_reproducibility.sh - # Do not upload a coverage report, as we don't run the tests for this job - after_success: true - -branches: - #Don't build tags - except: - - /^v\d/ - -#Below skips the installation step completely (https://docs.travis-ci.com/user/customizing-the-build/#Skipping-the-Installation-Step) -#We need it because otherwise Travis CI injects an awkward './gradlew assemble' step into the CI workflow -#We want to control and decide what Gradle tasks are executed -install: - - true - -script: - # To validate changes, we run building and bintray upload in dry run, and idea task. This happens on every build, even PRs. - # To publish, we perform github release and perform bintray upload (no dry run). This only for main branch builds. - - > - ./gradlew build bintrayUpload idea --scan -PbintrayDryRun