mirror of
https://github.com/anthonyraymond/joal.git
synced 2024-11-13 02:45:47 +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
|
- oraclejdk8
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
|
apt: true
|
||||||
directories:
|
directories:
|
||||||
- "$HOME/.cache"
|
- "$HOME/.cache"
|
||||||
|
- ~/.m2
|
||||||
|
|
||||||
|
install:
|
||||||
|
-
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- mvn package
|
- mvn clean test jacoco:report coveralls:report
|
||||||
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
|
@ -27,6 +32,7 @@ after_deploy:
|
||||||
- rm -rf packager-tmp
|
- rm -rf packager-tmp
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
|
- mvn clean package -DskipTests=true
|
||||||
- mkdir packager-tmp && cp -r resources/* ./packager-tmp && cp target/*.jar ./packager-tmp
|
- mkdir packager-tmp && cp -r resources/* ./packager-tmp && cp target/*.jar ./packager-tmp
|
||||||
- cd ./packager-tmp && tar -czvf joal.tar.gz * && cd ..
|
- cd ./packager-tmp && tar -czvf joal.tar.gz * && cd ..
|
||||||
- mvn clean test jacoco:report coveralls:report
|
|
||||||
|
|
Loading…
Reference in a new issue