-
Notifications
You must be signed in to change notification settings - Fork 29
/
.travis.yml
53 lines (46 loc) · 1.42 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
language: go
go:
- 1.12.x
addons:
postgresql: "9.6"
install:
- make prepare
services:
- postgresql
jobs:
include:
- stage: "Tests"
name: "Other Integration Tests"
script:
- make precommit-integration-tests-other
- goveralls -coverprofile profile-int-other.cov -service=travis-ci
- kill %1
- stage: "Tests"
name: "Broker Integration Tests"
script:
- travis_wait 20 make precommit-integration-tests-broker
- goveralls -coverprofile profile-int-broker.cov -service=travis-ci
- kill %1
- stage: "Tests"
name: "OSB and Plugin Integration Tests"
script:
- make precommit-integration-tests-osb-and-plugin
- goveralls -coverprofile profile-int-osb-and-plugin.cov -service=travis-ci
- kill %1
- stage: "Tests"
name: "Service Instance and Service Bindings Integration Tests"
script:
- travis_wait 30 make precommit-integration-tests-service-instance-and-binding
- goveralls -coverprofile profile-int-service-instance-and-bindings.cov -service=travis-ci
- kill %1
- stage: "Tests"
name: "Unit Tests"
script:
- make precommit-unit-tests
- goveralls -coverprofile profile-unit.cov -service=travis-ci
- kill %1
env:
- COVERALLS_PARALLEL=true
notifications:
slack: openservicebrokerapi:KQo2QAC6LXeEeXPOemOXja48
webhooks: https://coveralls.io/webhook