This repository has been archived by the owner on Nov 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy path.travis.yml
46 lines (46 loc) · 2 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
branches:
only:
- master
- /^[0-9]+\.[0-9]+\.[0-9]+$/
#addons:
# sonarcloud:
# organization: "sbtqasonarkey"
# token:
# secure: $SONAR_TOKEN
jdk:
- oraclejdk8
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 clean --settings .travis/settings.xml install -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip -B -V
#script:
# - mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip
deploy:
- provider: script
script: ".travis/deploy.sh"
skip_cleanup: true
on:
repo: sbtqa/page-factory
branch: master
jdk: oraclejdk8
- provider: script
script: ".travis/deploy.sh"
skip_cleanup: true
on:
repo: sbtqa/page-factory
tags: true
jdk: oraclejdk8
notifications:
email: false
slack:
rooms:
- secure: mFVdf0bKCOTqAIy+FZmMXUYPfJX0HrjZJ88kpM90aB/ihu+wIu49HoloSWiayXETl7A4h/21QBTXVDW0gRxqEhg9lKTpdWrNcOA/bG9vWN3xE4OcE3E7EVz1yL4dTWiMnKJkW+TcwKGhWv0z9hRin6A4jQANyJ88qd9MQNviO2yVIZBRGnqrXEVIYppwp7mb1jhwIdY6D1BJYudxRU+RZ9bYzumOkJ6ig+Qf2CNb0Cf1kho3Z+VM+Kg+qvOyPvnadZltlNbxfrUgEhd501uI4YVrSZXifPKNGeA7lRWHbtgnpV6HWQvFjINd8QKGcqBzY32PtB7ZSqNOMLkg2ombNk76fDln9M2BtAvDzNB2z9o+KdBnzzPHQ9qSUu7J3c24/74CIHtFSr1A//pnkSBlIZgMnOTsyqrI0tUY6+FtbKt0DuOjUXaYL3jOvHeFKFLPG3CTDOekTrbO3U1HPbMF/bIz9mfvMxgmdrbUtTCpSTRarB0KMI1+XWpxpAo1zz+sNVNlmD3Izx16jCerkw7Ogxuk3+Kf+kVkuZgn5giCxOrYD2aMqtIifA2Hh7N4Ox45CSD8395dzVG9Oty6I/VKadboHp8zorSYBhulju5VcTR+iRamwbAsEndvKUJHckzmtC0qnIXo0NxmgHycb4reoMajQyLZvrqB0a7FD/vnuJ8=
on_success: change
on_failure: always
template:
- "Build status: %{message}"
- "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{commit_message}"
- "Change view : %{compare_url}"
- "Build details : %{build_url}"