Skip to content

Commit a0c8cf8

Browse files
authored
Speeding up Travis
1 parent a41c6c6 commit a0c8cf8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ before_install:
88
fi
99
1010
install:
11-
- mvn install -DskipTests=true -Dgpg.skip -Dmaven.javadoc.skip=true -B -V
11+
- mvn clean install -DskipTests=true -Dgpg.skip -Dmaven.javadoc.skip=true -B -V
1212

1313
script:
1414
- |
1515
if [[ -z "${TRAVIS_TAG}" ]]; then
16-
mvn clean deploy -Dmaven.deploy.skip=true -B -U -Pdebug
16+
mvn deploy -Dmaven.deploy.skip=true -B -U -Pdebug
1717
else
18-
mvn clean deploy --settings .maven.xml -B -U -Prelease
18+
mvn deploy --settings .maven.xml -B -U -Prelease
1919
fi
2020
2121
before_deploy:
@@ -43,4 +43,4 @@ deploy:
4343

4444
cache:
4545
directories:
46-
- ~/.m2/repository
46+
- ~/.m2/repository

0 commit comments

Comments
 (0)