Skip to content

Commit

Permalink
Update travis
Browse files Browse the repository at this point in the history
  • Loading branch information
jodastephen committed Mar 22, 2017
1 parent 14a3e9a commit e97d3a2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,19 @@ language: java
jdk:
- oraclejdk8
- oraclejdk7
cache:
directories:
- "$HOME/.m2/repository"
before_cache:
- rm -rf $HOME/.m2/repository/org/joda/time
# install
install:
- mvn --version
script:
- mvn install -e -B
# deploy
before_deploy:
- mvn site-deploy -e -B --settings .github/maven-settings.xml
- travis_wait 40 mvn site-deploy -e -B --settings .github/maven-settings.xml
- export DIST_FILE1=$(ls target/joda-time-*-dist.tar.gz)
- export DIST_FILE2=$(ls target/joda-time-*-dist.zip)
deploy:
Expand Down

0 comments on commit e97d3a2

Please sign in to comment.