Skip to content

Commit

Permalink
Use deploy.sh for snapshot deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
lukespragg committed Feb 29, 2016
1 parent c027e13 commit 11990ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ after_success:
# Get files for use with build, namely the custom Maven settings.xml and scripts
- "git clone https://github.com/flow/travis-ci-resources.git $HOME/build/flow/travis"
# DEVELOP: Check if commit is not a pull request, if repo is official, if branch is not master; then deploy artifacts
- "[[ $TRAVIS_PULL_REQUEST == false ]] && [[ $TRAVIS_REPO_SLUG == flow/network ]] && [[ $TRAVIS_BRANCH == develop ]] && mvn javadoc:jar source:jar deploy --settings $HOME/build/flow/travis/settings.xml"
- "[[ $TRAVIS_PULL_REQUEST == false ]] && [[ $TRAVIS_REPO_SLUG == flow/network ]] && [[ $TRAVIS_BRANCH == develop ]] && $HOME/build/flow/travis/deploy.sh
# RELEASE: Check if commit is not a pull request, if repo is official, if branch is master; then run deployment script
- "[[ $TRAVIS_PULL_REQUEST == false ]] && [[ $TRAVIS_REPO_SLUG == flow/network ]] && [[ $TRAVIS_BRANCH == master ]] && $HOME/build/flow/travis/deploy.sh && $HOME/build/flow/travis/gh-pages.sh"
# Generate Javadocs and report for Coveralls.io
Expand Down

0 comments on commit 11990ff

Please sign in to comment.