Skip to content

Commit

Permalink
process of migrating to gradle - start building with gradle (pinteres…
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredsburrows authored and shashachu committed Jun 10, 2019
1 parent 4e01494 commit 8be0444
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
language: java
jdk:
- oraclejdk8
script: if [[ $TRAVIS_REPO_SLUG == "pinterest/ktlint" && $TRAVIS_BRANCH == "master"
&& $TRAVIS_PULL_REQUEST == "false" ]]; then ./mvnw -Ddeploy=maven-central -DskipStaging=true
-Dgpg.skip=true && ./mvnw -Ddeploy=github -Dgpg.skip=true -Dgithub.draft=true -Dgithub.description="https://github.com/pinterest/ktlint#access-to-the-latest-master-snapshot";
else ./mvnw clean verify; fi
install: true
script:
- |
if [[ $TRAVIS_REPO_SLUG == "pinterest/ktlint" && $TRAVIS_BRANCH == "master" && $TRAVIS_PULL_REQUEST == "false" ]]; then
./gradlew build && ./mvnw -Ddeploy=maven-central -DskipStaging=true -Dgpg.skip=true && ./mvnw -Ddeploy=github -Dgpg.skip=true -Dgithub.draft=true -Dgithub.description="https://github.com/pinterest/ktlint#access-to-the-latest-master-snapshot"
else
./mvnw clean verify
fi
env:
global:
- secure: sk+fF6EPGXCy85gm8cdKM0JXy3pMKRZSRaAE/gE+OWir9BjUj1clG3KZw5P/xPudiSMnNIRfluqxkLRCPWpawh/6Ixvs3falZAC9JVBu6OyHSjTXDp3zIr4Mv3NNMEefr775iRPzuf6iBUTTP2bZQ2P62CE3HOd83lB8Jm1QcDE7LIscMn96DGZt8BDi88fEjfSDCMcw87w+5zOM5prUoOlPp9dyxnskw9ncwmFLLrsJJJmcC0bvrTiE6Z1CduwNDOwYDDRgsEa6k2EEpBDrRSStDcXoF8zFTm79C5B81lkH2s+kylpp7XjOQPWQAs4+n/tQ0TIlvUG7YMyrtf/NVK+7oClQtVKAeWOD1sl+Z1Qs8h3+pk9xrTWFRgMYMSyjAbHAyaf7x+3Lv/uDs8yKdLc0QHa5kb6khJJ6M9wdQX6NDXopeuPIkacmHtknRi1BhUBzHCbiJDhxsQ08suaqjNtxVZ3ECh3GTLvnbTof3SN9IlUOu9SdS5iIGRGERxIY9YdNHHuT2zf95YNAkjS4zJqZG/q9rBxi5/YWgiBeSCARtqrEJ9aMMg3nvBFqsZs6AHB1KaAH8N15Z1n1EqzISn1/Mk5B17SG6+FSNswYomKP54HxeILE35iXOIRGcNyeE5GrNKgoofFhtRVJYUuIZu26ZY+hG39WwdGfDa8QBPE=
Expand Down

0 comments on commit 8be0444

Please sign in to comment.