Skip to content

Commit

Permalink
config: testing of checkstyle-tester is moved to checkstyle/contribut…
Browse files Browse the repository at this point in the history
…ion/appveyor.yml
  • Loading branch information
romani committed Apr 6, 2016
1 parent 85cae99 commit 3347217
Showing 1 changed file with 10 additions and 22 deletions.
32 changes: 10 additions & 22 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,31 +66,19 @@ environment:
CMD1: "mvn -e site -Dlinkcheck.skip=true -Dmaven.javadoc.skip=true -DskipTests"
CMD2: " -DskipITs -Dcobertura.skip=true -Dpmd.skip=true -Dfindbugs.skip=true "
CMD3: " -Dcheckstyle.ant.skip=true -Dxml.skip=true"
# checkstyle-tester
- JAVA_HOME: C:\Program Files\Java\jdk1.8.0
DESC: "checkstyle-tester on guava"
CMD1: "mvn clean install -DskipTests -DskipITs -Dcobertura.skip=true "
CMD2: " -Dpmd.skip=true -Dfindbugs.skip=true -Dcheckstyle.ant.skip=true -Dcheckstyle.skip=true -Dxml.skip=true"
CMD3: " && git clone -q --depth=10 --branch=master "
CMD4: " https://github.com/checkstyle/contribution C:\\projects\\checkstyle\\contribution "
CMD5: " && cd contribution\\checkstyle-tester "
CMD6: " && move /Y projects-for-travis.properties projects-to-test-on.properties "
CMD7: " && C:\\cygwin\\bin\\bash.exe -lc "
CMD8: " \"cd $APPVEYOR_BUILD_FOLDER/contribution/checkstyle-tester/ ;"
CMD9: " ./launch.sh -Dcheckstyle.config.location=checks-nonjavadoc-error.xml\""

build_script:
- ps: >
(get-content env:CMD1)
+ (get-content env:CMD2)
+ (get-content env:CMD3)
+ (get-content env:CMD4)
+ (get-content env:CMD5)
+ (get-content env:CMD6)
+ (get-content env:CMD7)
+ (get-content env:CMD8)
+ (get-content env:CMD9)
+ (get-content env:CMD10)
(get-content env:CMD1)
+ (get-content env:CMD2)
+ (get-content env:CMD3)
+ (get-content env:CMD4)
+ (get-content env:CMD5)
+ (get-content env:CMD6)
+ (get-content env:CMD7)
+ (get-content env:CMD8)
+ (get-content env:CMD9)
+ (get-content env:CMD10)
| Out-File appveyor.cmd -encoding ASCII
- ps: get-content appveyor.cmd
# We need to use cmd there as ps1 is failing each time error output appear from any command line
Expand Down

0 comments on commit 3347217

Please sign in to comment.