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

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminforras authored Feb 13, 2017
1 parent 1285040 commit 9eb2bc3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ cache:

before_install:
- chmod +x gradlew
- ./gradlew clean

# Extract the latest commits
before_script:
# - export COMMIT_MESSAGE=$(git show -s --format=%B $TRAVIS_COMMIT | tr -d '\n')
- "export COMMIT_MESSAGE=\"$(git log --format=%B --no-merges -n 1)\""

script: ./gradlew assemble -Pversion="1.0.$TRAVIS_BUILD_NUMBER"
script:
- ./gradlew clean
- ./gradlew assemble -Pversion="1.0.$TRAVIS_BUILD_NUMBER"

# Auto push release
before_deploy:
Expand Down

0 comments on commit 9eb2bc3

Please sign in to comment.