Browse Source

Remove old ci/cd configs (#2691)

pull/2721/head
penmetsaa 4 years ago
committed by GitHub
parent
commit
9970ea0431
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 27 deletions
  1. +6
    -6
      .github/workflows/unit-test.yml
  2. +0
    -20
      .travis.yml
  3. +1
    -1
      tools/java/pom.xml

+ 6
- 6
.github/workflows/unit-test.yml View File

@ -12,16 +12,16 @@ jobs:
with:
java-version: '8'
distribution: 'adopt'
# Invoke the "travis" profile during Maven steps; see <profile> in pom.xml
# Invoke the "github-actions" profile during Maven steps; see <profile> 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


+ 0
- 20
.travis.yml View File

@ -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 <profile> 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

+ 1
- 1
tools/java/pom.xml View File

@ -33,7 +33,7 @@
</modules>
</profile>
<profile>
<id>travis</id>
<id>github-actions</id>
<modules>
<module>common</module>
<!-- TODO: Add cpp-build once the protoc dependency or the generated Phonemetadata.java is


Loading…
Cancel
Save