-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
46 lines (40 loc) · 1.67 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
language:
- java
jdk:
- oraclejdk8
cache:
directories:
- ~/.m2/repository
install:
- mvn install -DskipTests=true -Dgpg.skip -Dmaven.javadoc.skip=true -B -V
#before_install:
# - if [ ! -z "$GPG_SECRET_KEYS" ]; then echo $GPG_SECRET_KEYS | base64 --decode | $GPG_EXECUTABLE --import; fi
# - if [ ! -z "$GPG_OWNERTRUST" ]; then echo $GPG_OWNERTRUST | base64 --decode | $GPG_EXECUTABLE --import-ownertrust; fi
script:
- mvn clean
- mvn compile
- mvn package
# - mvn --settings .travis/settings.xml clean verify -Dgpg.passphrase=$GPG_PASSPHRASE
# - mvn clean deploy -P release --settings /home/travis/build/SujataDarekar/TestPlugin/.travis/settings.xml -Dgpg.passphrase=$GPG_PASSPHRASE
# - mvn help:effective-settings
# - mvn clean deploy -P release --settings /home/travis/build/SujataDarekar/TestPlugin/.travis/settings.xml -Dgpg.passphrase=$GPG_PASSPHRASE
#- mvn --settings .travis/settings.xml -Dgpg.passphrase=$GPG_PASSPHRASE clean deploy -P release
#- mvn --settings .travis/settings.xml -Dgpg.passphrase=$GPG_PASSPHRASE clean deploy -P release
#- mvn help:effective-settings
#deploy:
# provider: script
#script: "cp .travis.settings.xml /home/travis/.m2/settings.xml && mvn -Dgpg.passphrase=$GPG_PASSPHRASE clean deploy -P release"
#skip_cleanup: true
# on:
# repo: SujataDarekar/TestPlugin
# jdk: oraclejdk8
#deploy:
# provider: releases
# api_key: $GITHUB_API_KEY
# file:
# - /home/travis/.m2/repository/com/github/SujataDarekar/Test-plugin/1.1.0/Test-plugin-1.1.0.jar
# - /home/travis/build/SujataDarekar/NewMavenRepository/Installer/TIB_BW_Maven_Plugin_1.2.2.zip
#skip_cleanup: true
# on:
# tags: true
# overwrite: true