generated from EOEPCA/template-svce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (38 loc) · 986 Bytes
/
.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
sudo: required
language: java
jdk: openjdk11
install: skip
services:
- docker
jobs:
include:
- stage: build (compile, unit test, package)
script: travis/build.sh
- stage: container creation
script:
- travis/containerCreation.sh
- stage: smoke and acceptance test
language: minimal
install: skip # without this there's a `git clone` and `gradlew assemble` executed!
script: travis/acceptanceTest.sh
- stage: release and tag on DockerHub
if: tag =~ ^v[0-9.]*$
language: minimal
install: skip
deploy:
provider: script
script: travis/release.sh
on:
tags: true
after_deploy:
- travis/delete-dockerhub-images.sh
import:
- docs/.travis.yml
notifications:
slack: eoepca:Msk9hjQKAbwSYcVWiepenPim
email:
recipients:
on_success: never # default: change
on_failure: never # default: always