-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
42 lines (38 loc) · 1.03 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
language: java
jdk:
- oraclejdk8
stages:
- test
- name: deploySnapshot
if: branch = master
- name: deployRelease
if: tag IS present
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
install: mvn --settings .travis/settings.xml verify -Dgpg.skip -B -V
script: skip
jobs:
include:
- stage: deploySnapshot
addons: skip
install: skip
script: skip
deploy:
provider: script
script: .travis/deploy.sh
skip_cleanup: true
on:
repo: Hi-Fi/robotframework-statusupdater
branch: master
- stage: deployRelease
addons: skip
install: skip
script: skip
deploy:
provider: script
script: .travis/deploy.sh
skip_cleanup: true
on:
repo: Hi-Fi/robotframework-statusupdater
tags: true