Skip to content

Commit

Permalink
Update travis ci for 2.x branch
Browse files Browse the repository at this point in the history
  • Loading branch information
ebussieres committed Jun 13, 2018
1 parent e584ed3 commit 820a6c5
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 @@ -10,4 +10,4 @@ jdk:

after_success:
- export VERSION=$(echo "cat //*[local-name()='project']/*[local-name()='version']/text()" | xmllint --nocdata --shell pom.xml | sed '1d;$d')
- 'if [ "$TRAVIS_BRANCH" = "master" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ] && [[ "$VERSION" =~ \-SNAPSHOT$ ]]; then cp ./travis-settings.xml $HOME/.m2/settings.xml && mvn -DskipTests=true -B deploy; fi'
- 'if [ "$TRAVIS_BRANCH" = "2.x" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ] && [[ "$VERSION" =~ \-SNAPSHOT$ ]]; then cp ./travis-settings.xml $HOME/.m2/settings.xml && mvn -DskipTests=true -B deploy; fi'

0 comments on commit 820a6c5

Please sign in to comment.