-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
52 lines (46 loc) · 2.51 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
47
48
49
50
51
52
language: java
jdk:
- oraclejdk8
# - oraclejdk7
# - openjdk7
install:
- mvn --settings .travis/settings.xml 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
deploy:
-
provider: script
script: .travis/deploy.sh
skip_cleanup: true
on:
repo: SOBotics/Redunda-lib-java
branch: master
jdk: oraclejdk8
-
provider: script
script: .travis/deploy.sh
skip_cleanup: true
on:
repo: SOBotics/Redunda-lib-java
tags: true
jdk: oraclejdk8
-
provider: script
script: .travis/deploy.sh
skip_cleanup: true
on:
repo: SOBotics/Redunda-lib-java
branch: bugfix/ci-deployment
jdk: oraclejdk8
# OLD
#language: java
#jdk:
# - oraclejdk8
#
#env:
#global:
# - secure: "bDQSqAQM8rsuQ1rUjMa1eyy5EbxLNBoUNB4c8oNDhs6QAiNiaJVEWpwABqPB3WTW2kHO/eVKybQTly3dnoWYnnnFCA5o1eIxoZGrPPDRX5NprhX49xebf7YZW8g4/l9EHJbxzYFaVZPgBAAhQK5RckbNgQnQMoJuQLZzwtqxHfuyKo6JwOEEv/cT1pI6J38V71roMFmHaFWE94HihYSM3ZefshMA+eUsAKWoBqFwhbONFtXOO73TQ1i7B7RboK5XjBJglXDG2q6d8yCap4cI+vub1tyOCPqhz+MQdu/idPEXmd2UVEP7phz/OPxnFizE7EJZoHiOemVNR9wUJVphvOm6cx+9OfBoi/ZlslBLV+ixXYZT6ImtixymMQS0WvpCPzAk4lyfuLDtAh7YbzTE+Z+80qEecM7vBojuxSN+T7ul2+hAIBi3zWXhqe/cKACCI2moL3JE51c0TwJWdsi2T0zv/meJ/EHI6BTxuIXDsS0YD6pkA/0p3wrPoEXPPnX1djP2JARvJw+pdmV+37wa/ZkRr3AYIZqJEJs1U/7T3zjIJ0wIeck6D6w3LIm0xqkqVrlevH1hThNdYT9t6xjTcaWiS4bhHtvyP/Zs9x46iUNE6IuM5K2TbnyKQ+152iUQnHJiVeTltfp8zg1AXxyvHZrFU41xTeKJsyk/GymqDeM="
# - secure: "CEMJAV5iEN8wnUaX+2MYfA9dELXl20Blvfclz7gaqFXD9VGjZFTGzllkA66OpHG+obiz/FNdsJQfV2S7R0j8I0RetqqZ6NeQ5e9DQxHhUu5LwmgZ5wJ/fd6V3fU5qEw76JkcjOV0Jjsc4TD9gw8fL/UCyzJLeb75zgshe37nFp1d1JtW9PlEQmjPA50P1M1q9wMfqy7HUN5zcrfpMhCkwy0rLgvEG2AvwVr6joqhkppixb5D5p4mBTNjKsEqI0Y1jEh243uNorFGoXJIq5ltJUtVD20Xttuf2ocBaBnWRjJVAvzcy42nHoGzprxoG3+txvk0YOCopA0sVYnwn5lWYnzGhTfOMo+YfK7LnbQolV3KDWNB6mz4mn/l8YgHD9eVnUx7aLvxxM2vCAMzUkQGEEcycILEhNKvVYunz8YkX28KjGz+08VjlYib7mLYQIkvXo0V9rMI29pUQ/PswyS3FVPGeFvOsJ9O7sjofmETwhQbUGgsNmePJZE1uImBuDTXHfbXpxmYTjEnuBXofrgoKdU0Xu53ALHT3A2bVJrDVNUlbmT46LpVFJieY9KJjkYnp1xFAIz6toDbZlYQPNaLOLi6TIJ3CIx6eS7R/HJvkLohd7wr+KWXoKciLTVtU1GbsmCabJiu2Cj2hfzAcWjSrxvFf5TGzGpoitNJCIIJzKs="
#after_success:
# - "[[ $TRAVIS_BRANCH == \"master\" ]] && { python travis/addServer.py; mvn clean deploy --settings ~/.m2/mySettings.xml; };"