Skip to content

Commit

Permalink
infra: move CI to new diff.groovy
Browse files Browse the repository at this point in the history
  • Loading branch information
nrmancuso committed Feb 14, 2021
1 parent 5f874c1 commit 0321c09
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .ci/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@ patch-diff-report-tool)
checkstyle-tester-launch-groovy)
checkout_from https://github.com/checkstyle/checkstyle
cd .ci-temp/checkstyle
LOCAL_GIT_REPO=$(pwd)
mvn --batch-mode clean install -Passembly
cd ../../checkstyle-tester
groovy launch.groovy -l projects-for-travis.properties -c my_check.xml -i
groovy diff.groovy -r "$LOCAL_GIT_REPO" -l projects-for-travis.properties --patchConfig my_check.xml \
--patchBranch master --mode single --allowExcludes
;;

checkstyle-tester-diff-groovy-patch)
Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@ environment:
CMD3: " && cd checkstyle && git checkout -b patch-branch"
CMD4: " "
CMD5: " && cd ..\\checkstyle-tester "
CMD6: " && groovy diff.groovy -l projects-for-travis.properties -c my_check.xml -b master -p patch-branch -r C:\\projects\\contribution\\checkstyle -i -s"
CMD6: " && groovy diff.groovy -l projects-for-travis.properties -c my_check.xml -b master -p patch-branch -r C:\\projects\\contribution\\checkstyle -s"
- JAVA_HOME: C:\Program Files\Java\jdk1.8.0
DESC: "checkstyle-tester (diff.groovy with base and patch configs) on guava"
CMD1: " git clone -q --depth=10 --branch=master "
CMD2: " https://github.com/checkstyle/checkstyle C:\\projects\\contribution\\checkstyle "
CMD3: " && cd checkstyle && git checkout -b patch-branch"
CMD4: " "
CMD5: " && cd ..\\checkstyle-tester "
CMD6: " && groovy diff.groovy -l projects-for-travis.properties -bc my_check.xml -pc my_check.xml -b master -p patch-branch -r C:\\projects\\contribution\\checkstyle -i -s"
CMD6: " && groovy diff.groovy -l projects-for-travis.properties -bc my_check.xml -pc my_check.xml -b master -p patch-branch -r C:\\projects\\contribution\\checkstyle -s"

build_script:
- ps: >
Expand Down

0 comments on commit 0321c09

Please sign in to comment.