-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
62 lines (62 loc) · 5.61 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
53
54
55
56
57
58
59
60
61
62
language: java
jdk:
- openjdk8
stages:
- name: build
if: NOT tag IS present
- name: snapshot
if: "(NOT tag IS present) AND branch = master AND type = push"
- name: release
if: tag IS present AND type = push
- name: documentation
if: tag IS present AND type = push
jobs:
include:
- stage: build
script: "./mvnw clean verify sonar:sonar -P coverage-report -Dsonar.organization=xtensions -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_KEY"
install: true
after_success:
- bash <(curl -s https://codecov.io/bash)
- stage: snapshot
script: "./mvnw clean deploy -Drelease -DskipTests --settings .travis/settings.xml"
install: true
- stage: release
script:
- "./mvnw versions:set -DremoveSnapshot -Drelease"
- "./mvnw --projects bundles/de.fhg.fokus.xtensions org.eclipse.tycho:tycho-versions-plugin:set-version
-DnewVersion=$TRAVIS_TAG -Drelease"
- "./mvnw clean deploy -DskipTests -Drelease --settings .travis/settings.xml"
install: true
deploy:
skip_cleanup: true
provider: bintray
on:
tags: true
file: ".travis/bintray-deploy.json"
user: boereck
key:
secure: HWs98/0DRpmQxq1S0Zp37K3EFttg63ty6HqCn+iDOF0epIcFGZzuUBA2Web3/QpRd1r41zAz5CaiHmyAPPLBF3KgivvhOWRjEZKlIkwg2osNWETTA9kbADH0TaVB9pJA26yn0ILV3vLT/sRt3fx/Vs44NcInV88ChrjiujYw0ivUKVaE+YZqUQqfEFjVBNWtpJdgiwAdSY+ZYQg/O3XRRnhgo/QTHuk/yQ3scJykpIJ300K5ifidXT6mzPGjybp7Ixx6y+wkOisXMVY8ICVi4w0ZMnNih4TuM4pnZnWU9a1Oyt1gnltmG026ItP9fBOs+UDdiADZt2LSQ8KfPigyFl2K0YNJXvirMOiC3yR8/utcPx97JU7u7MJ6mCyooBheBw0xfmSVduKLlvLToC/PW83K4k2TeS4tn50Iluj/7wBBVo0Ad+lKdcMrPuECE50txa7KM73YvjyFgAWqvdGkl91XcBSOAFld7tsY+TYkqHTqx+ya6uUzDLVK2Zfpefm02xkCZycSyQUUIR0Io5Qv9SKXw9sTUmSulgGUAhvsg0Omfpvp1WxEkhK7nLuE2FX584B/3A+vL5cQ3yVyb5q+LHN5JVECVvlo4UIPeZnAe2anrJtV6Gu1+dHxqiGvcmikRkqIFu/0kbWQ9YIlk/oCJPtd/M6Xw5DMoncdgiHyoXY=
- stage: documentation
language: node_js
node_js: stable
install:
- npm install gitbook-cli -g
script:
- gitbook install
- gitbook build
deploy:
provider: pages
skip-cleanup: true
github-token: "$GITHUB_TOKEN"
keep-history: true
local-dir: "./_book"
on:
tags: true
env:
global:
- MVNW_VERBOSE=true
- secure: Cfu0k3jW/RE6T/9EWkWfMevbppp4ZXVodI90MUMY4UzKu6PXfwkScFKvPgpH1WgW3y9lMYW18IPCwfrkut6qbzsO0S8VYaTO7ssNBT+K1KIbLc4u7zSx0wxtmonfHWI0ttC68o6Il1ekP56Ai4xt7bakAhSrIiUmjg+8sngy8tO5/4DSnZIoQBQvq5i09m/+6mob1FT1MKtU3EJiRErMV19Mm20+JR+/8GquFLx9KcLLThjoRC5MsAav7Ph9aiD+M61T+md9WTOkeXAmQXxaUNALXMDo1Xa8PETF9gQZ3xUCSAbxV06bSJSiAwiJw4I4AEP+gUZdv9W9kCGKCe3yKv7EsrR52I1sFsAhj853OTJKkZGqpIGPm0pIKzevxr1T7gBeCaKBg+bzFydSSGVS4jxW75YOisxKeUuVNTZsZmsoZElOgNPMSVWxzZ09IZ8YViwPw4U8OCEiidY/3c/yEaF5CoYR3wEJ4kVs6U1iqDooSp1Sqk/OM67C7ENkutN9selfwDqITBs6Dm5okp5hef0xGc1BmMMH3UGQL5VCtZJL2DUfvpBfkc+HdQIntgfFBJf7gnkChDy/Mx2Fsob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