This repository has been archived by the owner on Mar 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
58 lines (52 loc) · 3.12 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
dist: xenial
sudo: required
language: java
env:
global:
- secure: yTKGeg0/BNIJzE7UJm7sNvSnvHBcf2wKo/lwvFrQbKrKCBMP92mD68R7Clf8ckt76g+J+TGHoW0DuxlRS8xBpuMhHW7ocG50R+YynTZVWJfhOwLvaGfzZJPXpJANToouT9NqLeDp2TzUpm4X+A5s7
nxLk9JblGU9POMAWklXCw6+3lb1K4Hf31CR2HRRV5oi2GokMFBQKNR2fcDHg2e9cheV/c3NLmn936e858HRlSq9IOQR8qlM8UsB+Qci6sQ67MHkvGflLwcDnH5FxvsK9CsdEJUu5asycsgLdm4O/RJJ/1zgPz0RI
21dtsHVeTu3eBYgtbvdYmyDu2/PNxnko4OUkB8AD4hmWZLgeOn/W7A9wNbA1aC650zQR5mCS6DgLs8b7RTSKTzw1HnItuINKOIsPmWeQSDmjt66dWe9tETR5CTiJ2/YVbmvmCXRS6HN8gkevGm5P/JAjP9vjBdcm
/AQ+MsnxjxzNictJCyjbzfWx9mczDIv925bFiKidG9AaAiBdpaoNisB/SeiioeSH25dNt2FUcSdlYjianmcaTtoidHDO4QLzVsy6puJSt0Poauln1/wivvlRxVA4AQlxZuSD6QuYQt/LaJ6J6mTlo6p3Hn9tcfnI
iDFdPKTsMVS9Rx5AzdfLy7/z1sZEayGFmXqlGwKOwyRk7mkIGubfxM=
- DOCKER_USERNAME=toop4eu
- secure: WjQKn7FgP73OkGaUytq2KyaCmlPetlQMVGcLYx+VQtXbWR1YJXeAtPmWKZ2Tu13GSksyyfZo++s1suM+RMz/MrjDU0Wf1WFYFQYoNUKdJPBPLr+iMrPOWVvrP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gEVsTJH/yH
TjcAuXimpxV5y/3BTA3HgrgqGPAVbFbSkhzEudgUCf9MBO1ZQn02wQdDG+Rtuklj6o+uvzaxyDgqZv7eb6eBfFyHtjWpdkTJ+mkS3HWQ6x3ZQui+a3WMeoHPfH3bXGZ+bSwboSBmUTm5VBBgsiqFUhsyiv6vu66j
6SOSX+IUO59jgngs2AzCBRWdlqVPSk1vVH/qBe8Fxv7qkaABH0Kztc=
install:
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -U
cache:
directories:
- "$HOME/.m2"
branches:
only:
- master
jobs:
include:
- stage: test
jdk: openjdk8
script:
- mvn test -B -P coverage sonar:sonar
after_success:
- mvn deploy --settings travis-settings.xml -DskipTests=true -B -P travis-deploy
- docker pull toop/tomcat-jdk-image:1
- docker build --build-arg TOOP_CONNECTOR_VERSION=0.10.8-SNAPSHOT -t toop/toop-connector-webapp:0.10.8-SNAPSHOT .
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker push toop/toop-connector-webapp:0.10.8-SNAPSHOT
- docker logout
- bash <(curl -s https://codecov.io/bash)
- stage: test
jdk: openjdk11
script:
- mvn test -B
- stage: test
jdk: openjdk12
script:
- mvn test -B