Skip to content

Commit

Permalink
chore: fix deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
monperrus committed Mar 11, 2018
1 parent bb19699 commit cede74c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis_core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ cd test-projects
mvn clean package -DskipTests
cd ..
cd nopol
mvn clean install jacoco:report coveralls:report
mvn clean test
if [[ $? != 0 ]]
then
exit 1
fi
cd ..

# automatic deployment to tdurieux's repo
if [ $TRAVIS_BRANCH == "master" ] && [ $TRAVIS_JDK_VERSION == "openjdk8" ]; then
if [[ $TRAVIS_BRANCH == "master" ]]; then
cd nopol;
mvn versions:set -DnewVersion=`git rev-parse HEAD`
mvn deploy --settings ../.travis-settings.xml -DskipTests=true -B;
Expand Down

0 comments on commit cede74c

Please sign in to comment.