diff options
author | Roman Ivanov <ivanov-jr@mail.ru> | 2016-12-09 16:40:20 -0800 |
---|---|---|
committer | Roman Ivanov <romani@users.noreply.github.com> | 2016-12-10 06:46:21 -0800 |
commit | ed6b9004ea882d2a04b46121e25ac678481b7e6e (patch) | |
tree | 98469978320b408d5805a05a6580a609591505c0 /.travis.yml | |
parent | 4a540b4aec0680c81205409b35c8b14f982d897e (diff) | |
download | checkstyle-ed6b9004ea882d2a04b46121e25ac678481b7e6e.tar.gz |
Issue #3632: releasenotes generation was moved to separate shell file
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/.travis.yml b/.travis.yml index 737ea37f3..d9945b3a9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -271,23 +271,8 @@ matrix: - jdk: oraclejdk8 env: - DESC="Releasenotes generation" - - CMD0="if [[ $TRAVIS_PULL_REQUEST =~ ^([0-9]*)$ ]]; then exit 0; fi " - - CMD1=" && git clone https://github.com/checkstyle/contribution && cd contribution/releasenotes-builder " - - CMD2=" && mvn clean compile package " - - CMD3=" && cd ../../ && git clone https://github.com/checkstyle/checkstyle && cd checkstyle " - - CMD4=" && LATEST_RELEASE_TAG=\$(git describe \$(git rev-list --tags --max-count=1)) && cd ../" - - CMD5=" && CS_RELEASE_VERSION=$(mvn -q -Dexec.executable='echo' -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec | sed 's/-SNAPSHOT//' ) " - - CMD6=" && echo LATEST_RELEASE_TAG=\$LATEST_RELEASE_TAG && echo CS_RELEASE_VERSION=\$CS_RELEASE_VERSION " - - CMD7=" && java -jar contribution/releasenotes-builder/target/releasenotes-builder-1.0-all.jar " - - CMD8=" -localRepoPath checkstyle -startRef \$LATEST_RELEASE_TAG -releaseNumber \$CS_RELEASE_VERSION -githubAuthToken $GITHUB_AUTH_TOKEN -generateAll -publishXdoc" - - CMD9=" && echo && echo ==============================================" - - CMD10=" && echo xdoc && echo && cat xdoc.xml" - - CMD11=" && echo twitter post && echo && cat twitter.txt" - - CMD12=" && echo google plus post && echo && cat gplus.txt" - - CMD13=" && echo RSS post && echo && cat rss.txt" - - CMD14=" && echo mailing list post && echo && cat mailing_list.txt" - - CMD15=" && cd checkstyle/src/xdocs && echo releasenotes.xml after commit && echo && head -n 100 releasenotes.xml" - - CMD=$CMD0$CMD1$CMD2$CMD3$CMD4$CMD5$CMD6$CMD7$CMD8$CMD9$CMD10$CMD9$CMD11$CMD9$CMD12$CMD9$CMD13$CMD9$CMD14$CMD9$CMD15 + - GOAL="releasenotes-gen" + - CMD="./.ci/travis/travis.sh" - COVERAGE_CMD="" # testing of PR format |