Skip to content

Commit

Permalink
Change travis script (0.0.1 didn't publish javadoc+sources to bintray) (
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoerdtalsma authored Apr 28, 2017
1 parent 4906a6c commit cf669c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ before_install:

install:
# Override default travis to use the maven wrapper
- ./mvnw -s .mvn/settings.xml install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
- ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -B -V

script:
- .travis/publish.sh
Expand Down
4 changes: 2 additions & 2 deletions .travis/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,13 @@ fi

./mvnw verify -nsu

# If we are on a pull request, our only job is to run tests, which happened above via ./mvnw install
# If we are on a pull request, our only job is to run tests, which happened above via ./mvnw verify
if is_pull_request; then
true
# If we are on master, we will deploy the latest snapshot or release version
# - If a release commit fails to deploy for a transient reason, delete the broken version from bintray and click rebuild
elif is_travis_branch_master; then
./mvnw --batch-mode -s .mvn/settings.xml -Prelease -nsu -DskipTests deploy
./mvnw --batch-mode -s .mvn/settings.xml -Prelease -nsu -DskipTests package deploy

# If the deployment succeeded, sync it to Maven Central. Note: this needs to be done once per project, not module, hence -N
if is_release_commit; then
Expand Down

0 comments on commit cf669c4

Please sign in to comment.