Skip to content
This repository has been archived by the owner on Feb 26, 2023. It is now read-only.

Commit

Permalink
Move deployment to main commands in Travis
Browse files Browse the repository at this point in the history
This way it can benefit of the Travis cache.
  • Loading branch information
WonderCsabo committed Sep 2, 2019
1 parent ef545b7 commit 866837d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,8 @@ script:
- ./gradlew assembleDebug
- cd $TRAVIS_BUILD_DIR
- ./check_missing_copyright.sh
- set +e

after_success:
- if [[ $TRAVIS_REPO_SLUG == 'androidannotations/androidannotations' && $TRAVIS_BRANCH == 'develop' && $TRAVIS_PULL_REQUEST == 'false' && $TRAVIS_JDK_VERSION == 'oraclejdk8' ]]; then cd $TRAVIS_BUILD_DIR/AndroidAnnotations && ./mvnw -DskipTests -Dquiet -s ../settings.xml deploy ; fi
- set +e

notifications:
webhooks:
Expand Down

0 comments on commit 866837d

Please sign in to comment.