Skip to content

Commit

Permalink
Issue #11747: Migrate codenarc to travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Vyom-Yadav authored and nrmancuso committed Oct 28, 2022
1 parent 6704023 commit 0ad54c5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 22 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/codenarc-analysis.yml

This file was deleted.

14 changes: 14 additions & 0 deletions .travis.yml
Expand Up @@ -11,6 +11,7 @@ cache:
addons:
apt:
packages:
- groovy
- xsltproc
- xmlstarlet

Expand Down Expand Up @@ -43,13 +44,26 @@ jobs:
- USE_MAVEN_REPO="true"
- CMD="./.ci/travis.sh jacoco"

- jdk: openjdk11
env:
- DESC="codenarc analysis"
- CMD="./.ci/codenarc.sh"

# Ensure that all modules are used in no exception configs
- env:
- DESC="ensure that all modules are used in no exception configs"
- CMD1="export PULL_REQUEST=$TRAVIS_PULL_REQUEST"
- CMD2="./.ci/validation.sh verify-no-exception-configs"
- CMD="$CMD1 && $CMD2"

before_script:
- |
if [[ $TRAVIS_CPU_ARCH == 'ppc64le' ]]; then
export JAVA_HOME=/usr/lib/jvm/adoptopenjdk-11-hotspot-ppc64el
export PATH=$JAVA_HOME/bin:$PATH
fi
- groovy --version

script:
# manually set JAVA_HOME to overcome issue with travis ci noted at
# https://github.com/checkstyle/checkstyle/pull/11699#issue-1261272652
Expand Down

0 comments on commit 0ad54c5

Please sign in to comment.