We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 682dde1 commit 9305d35Copy full SHA for 9305d35
.travis.yml
@@ -9,14 +9,12 @@ dist: trusty
9
before_script:
10
- jdk_switcher use $JDK
11
12
-# install: mvn clean verify -Dgpg.skip
13
-install: cp .travis.settings.xml $HOME/.m2/settings.xml && mvn deploy -P gpg
+install: mvn clean verify -Dgpg.skip
14
15
# TODO(weiguo) not tested yet
16
deploy:
17
provider: script
18
- script: "cp .travis.settings.xml $HOME/.m2/settings.xml && mvn deploy -P gpg"
+ script: "mvn --settings .travis/settings.xml deploy -P gpg"
19
skip_cleanup: true
20
on:
21
- # Set `tag: true` so that the deployment is triggered only when a tagged commit is pushed
22
tags: true
.travis.settings.xml .travis/settings.xml.travis.settings.xml renamed to .travis/settings.xml
0 commit comments