Skip to content

Commit

Permalink
Update Travis script
Browse files Browse the repository at this point in the history
  • Loading branch information
Artem Labazin authored and Artem Labazin committed May 29, 2019
1 parent 2ff5a13 commit db3f883
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ before_install:
- echo $GPG_OWNERTRUST | base64 --decode | $GPG_EXECUTABLE --import-ownertrust

install:
mvn --settings .settings.xml install -DskipTests=true -Dgpg.skip -Dmaven.javadoc.skip=true -B -V
./mvnw --settings .settings.xml install -DskipTests=true -Dgpg.skip -Dmaven.javadoc.skip=true -B -V

script:
mvn --settings .settings.xml clean verify -DskipTests=false -Dmaven.javadoc.skip=true -B -U
./mvnw --settings .settings.xml clean verify -DskipTests=false -Dmaven.javadoc.skip=true -B -U

before_deploy:
- mvn help:evaluate -N -Dexpression=project.version | grep -v '\['
- export project_version=$(mvn help:evaluate -N -Dexpression=project.version | grep -v '\[')
- ./mvnw help:evaluate -N -Dexpression=project.version | grep -v '\['
- export project_version=$(./mvnw help:evaluate -N -Dexpression=project.version | grep -v '\[')
- sed -i -- "s/\${env.SONATYPE_PASSWORD}/$SONATYPE_PASSWORD/g" .settings.xml
- mvn --settings .settings.xml clean deploy -DskipTests=true -Dmaven.javadoc.skip=false -B -U
- ./mvnw --settings .settings.xml clean deploy -DskipTests=true -Dmaven.javadoc.skip=false -B -U

deploy:
provider: releases
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Changed

- Updated dependencies;
- Force the Travise use Maven wrapper instead of direct version;
- Some PMD errors.

## [1.1.1](https://github.com/appulse-projects/logging-java/releases/tag/1.1.1) - 2019-03-02
Expand Down

0 comments on commit db3f883

Please sign in to comment.