This repository has been archived by the owner on Mar 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.travis.yml
44 lines (40 loc) · 1.83 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
language: java
## export GPG details
before_install:
- echo $GPG_SECRET_KEYS | base64 --decode | $GPG_EXECUTABLE --import
- echo $GPG_OWNERTRUST | base64 --decode | $GPG_EXECUTABLE --import-ownertrust
install:
- mvn --settings .travis/maven.settings.xml install -DskipTests=true -Dgpg.skip -Dmaven.javadoc.skip=true -B -V
## Get the project version
before_deploy:
- mvn help:evaluate -N -Dexpression=project.version|grep -v '\['
- export project_version=$(mvn help:evaluate -N -Dexpression=project.version|grep -v '\[')
deploy:
-
provider: script
script: .travis/deploy.sh
skip_cleanup: true
on:
repo: rzari/jarling
branch: master
-
provider: script
script: .travis/deploy.sh
skip_cleanup: true
on:
repo: rzari/jarling
tags: true
-
## Release to github
provider: releases
api_key:
secure: yUITyls43XMGUAJ/igALkhBUgKEt6gvI8g+8SMHnVDDl6eZVKmkpLxJZkJjuqNFR0P8sNjbu3PpOdhPCg+UfIyZPsKUaNnJC0KZFFiNj+y8OXuRHEFlMebmxh5NR56Em54uAV7NVb6camoia4l7nyLj0khxyITM2xJsx5Ea/Ul+zbgJSmKWxEbKIX+v6TtBBnhf2SAXqarLZGOyJysKg+iuKdo+3QoA5NcstndKWDL+i6dZES2J/rXE4GqAgBC9Bz9F471wl+EWOAn4+VI2mjXl8HKKe5c8sOY6krWmvNc8R8H5E7PudTD23q0g8qPm4yEJTXzex2LVpVtFC9E3A1QdeWY2AG+XBotRKAjg79aUfsxDVTyJhmBvLPPph7tsJuFxZ4BBWNy4mPJKWXQI9f8jXx4G3s/K3Jdo9OkFugH1waB8elHpqiMeLCtygxpGat9t6BgtJDixexhwH8RIKtgquZpiafC0qzNqlGVStFR8Xo4AWgFhRjbFcpZSGxU2CsLOq2XKReCyaQ+mVGf3h8IeVb4wof+84/aHFogXoOCg4bU4Abtcq3S0mj86hZa8T2hb4vOi51iNX4oWG+6T4353fdXc/t3lDLoZWbKdoVrC46dmnBKcIB14uw+JTdnhe1xWl3HBrZTtwpVvdtCNzKB43yuYPHzs4XYeqPQVSjkk=
file:
- target/jarling-$TRAVIS_TAG.jar
- target/jarling-$TRAVIS_TAG-javadoc.jar
- target/jarling-$TRAVIS_TAG-sources.jar
skip_cleanup: true
on:
repo: rzari/jarling
branch: master
tags: true