From 9970ea0431415b387e22345c3e49cee6d8ce59c0 Mon Sep 17 00:00:00 2001 From: penmetsaa Date: Tue, 25 Jan 2022 13:37:08 +0530 Subject: [PATCH] Remove old ci/cd configs (#2691) --- .github/workflows/unit-test.yml | 12 ++++++------ .travis.yml | 20 -------------------- tools/java/pom.xml | 2 +- 3 files changed, 7 insertions(+), 27 deletions(-) delete mode 100644 .travis.yml diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 0928a848d..34668c8b6 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -12,16 +12,16 @@ jobs: with: java-version: '8' distribution: 'adopt' -# Invoke the "travis" profile during Maven steps; see in pom.xml +# Invoke the "github-actions" profile during Maven steps; see in pom.xml # files. This is configured not to build the "cpp-build" module. # The "mvn install" command will run by default during the "install" phase by -# Travis, without the profile flag. Here we customize the install phase to use -# the relevant profile. If we want to build "cpp-build" with Travis CI it's safe -# to remove the first line entirely. +# Github Actions, without the profile flag. Here we customize the install phase to +# use the relevant profile. If we want to build "cpp-build" with Github Action CI +# it's safe to remove the first line entirely. - name: Test Build Tools with Maven run: | - mvn install -P travis -DskipTests=true -Dmaven.javadoc.skip=true -B -V - mvn -P travis test + mvn install -P github-actions -DskipTests=true -Dmaven.javadoc.skip=true -B -V + mvn -P github-actions test - name: Test Java API with Ant run: | ant clean -f java/build.xml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 480328a7c..000000000 --- a/.travis.yml +++ /dev/null @@ -1,20 +0,0 @@ -language: java -before_install: -- sudo apt-get -qq update -# ant-optional is needed for ant junit. This used to be part of the default -# Travis image. -- sudo apt-get install ant-optional -- npm install -g is-ascii-safe-cli -install: -# Invoke the "travis" profile during Maven steps; see in pom.xml -# files. This is configured not to build the "cpp-build" module. -# The "mvn install" command will run by default during the "install" phase by -# Travis, without the profile flag. Here we customize the install phase to use -# the relevant profile. If we want to build "cpp-build" with Travis CI it's safe -# to remove this line entirely. -- mvn install -P travis -DskipTests=true -Dmaven.javadoc.skip=true -B -V -script: -- mvn -P travis test -- ant clean -f java/build.xml && ant jar -f java/build.xml -- ant junit -f java/build.xml -- find . -name '*.js' ! -name '*_test.js' | xargs is-ascii-safe diff --git a/tools/java/pom.xml b/tools/java/pom.xml index 486962871..4eefd9a09 100644 --- a/tools/java/pom.xml +++ b/tools/java/pom.xml @@ -33,7 +33,7 @@ - travis + github-actions common