mirror of
https://github.com/anthonyraymond/joal.git
synced 2024-11-10 09:02:31 +08:00
Improved travis build time
This commit is contained in:
parent
107b564cd9
commit
c8586eed2c
1 changed files with 8 additions and 2 deletions
10
.travis.yml
10
.travis.yml
|
@ -4,11 +4,16 @@ jdk:
|
|||
- oraclejdk8
|
||||
|
||||
cache:
|
||||
apt: true
|
||||
directories:
|
||||
- "$HOME/.cache"
|
||||
- ~/.m2
|
||||
|
||||
install:
|
||||
-
|
||||
|
||||
script:
|
||||
- mvn package
|
||||
- mvn clean test jacoco:report coveralls:report
|
||||
|
||||
|
||||
deploy:
|
||||
|
@ -27,6 +32,7 @@ after_deploy:
|
|||
- rm -rf packager-tmp
|
||||
|
||||
after_success:
|
||||
- mvn clean package -DskipTests=true
|
||||
- mkdir packager-tmp && cp -r resources/* ./packager-tmp && cp target/*.jar ./packager-tmp
|
||||
- cd ./packager-tmp && tar -czvf joal.tar.gz * && cd ..
|
||||
- mvn clean test jacoco:report coveralls:report
|
||||
|
||||
|
|
Loading…
Reference in a new issue