Skip to content

Commit

Permalink
#8 Fixed travis script.
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph committed Oct 13, 2020
1 parent 50a499a commit 8dc29d7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@ before_install:
- gpg2 --batch --cipher-algo AES256 --passphrase $SIGNING_KEYPASSWORD travis_secret_key.gpg
script:
- ./gradlew clean build
- if [[ $TRAVIS_COMMIT_MESSAGE == *"--snapshot"* ]]; then ./gradlew publish > /dev/null; fi ;
- if [[ $TRAVIS_COMMIT_MESSAGE == *"--release"* && $TRAVIS_BRANCH == *"master"* ]]; then ./gradlew clean publishToNexus > /dev/null; fi ;
- if [[ $TRAVIS_COMMIT_MESSAGE == *"--release"* && $TRAVIS_BRANCH == *"master"* ]]; then ./gradlew closeAndReleaseRepository; fi ;
- if [[ $TRAVIS_BRANCH == *"master"* ]]; then rm -rf docs/build && rm -rf docs/apidocs; fi ;
- if [[ $TRAVIS_BRANCH == *"master"* ]]; then ./gradlew generateJavaDocPages > /dev/null; fi ;
- if [[ $TRAVIS_BRANCH == *"master"* ]]; then git add docs && git commit --message "Travis build $TRAVIS_BUILD_NUMBER [skip travis-ci]"; fi ;
- if [[ $TRAVIS_BRANCH == *"master"* ]]; then git push --quiet https://Shynixn:[email protected]/Shynixn/MCCoroutine.git HEAD:master; fi ;
after_success:
- ./gradlew jacocoRootReport
- if [[ $TRAVIS_COMMIT_MESSAGE == *"--snapshot"* ]]; then ./gradlew publish > /dev/null; fi ;
Expand Down

0 comments on commit 8dc29d7

Please sign in to comment.