-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy path.travis.yml
18 lines (16 loc) · 1.08 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
language: java
jdk:
- oraclejdk8
before_install:
- export TZ=Asia/Baghdad
- pip install --user codecov
after_success:
- openssl aes-256-cbc -pass pass:$ENCRYPTION_PASSWORD -in $GPG_DIR/pubring.gpg.enc -out ~/pubring.gpg -d
- openssl aes-256-cbc -pass pass:$ENCRYPTION_PASSWORD -in $GPG_DIR/secring.gpg.enc -out ~/secring.gpg -d
- codecov
- echo "<settings><servers><server><id>ossrh</id><username>\${env.OSSRH_USER}</username><password>\${env.OSSRH_PASS}</password></server><server><id>bintray-robeio-maven</id><username>\${env.BINTRAY_USER}</username><password>\${env.BINTRAY_API_KEY}</password></server></servers><profiles><profile><id>ossrh</id><activation><activeByDefault>true</activeByDefault></activation><properties><gpg.executable>gpg</gpg.executable><gpg.passphrase>\${env.GPGPASSPHRASE}</gpg.passphrase></properties></profile></profiles></settings>" > ~/settings.xml
- mvn clean deploy -DperformRelease=true -DskipTests=true --settings ~/settings.xml
- mvn clean deploy -Dbintray=true -DskipTests=true --settings ~/settings.xml
env:
global:
- GPG_DIR="`pwd`/deploy"