Skip to content

Commit c621cdc

Browse files
author
Michael Kibbe
committed
add stages to Travis
1 parent 545ffdb commit c621cdc

File tree

1 file changed

+17
-9
lines changed

1 file changed

+17
-9
lines changed

.travis.yml

+17-9
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,20 @@ services:
55
cache:
66
directories:
77
- $GOPATH/pkg/dep
8-
script:
9-
- make verify build build-integration build-e2e test images svcat
10-
deploy:
11-
skip_cleanup: true
12-
provider: script
13-
script: contrib/travis/deploy.sh
14-
on:
15-
repo: kubernetes-incubator/service-catalog
16-
all_branches: true
8+
stages:
9+
- test
10+
- name: deploy
11+
if: type != pull_request
12+
jobs:
13+
include:
14+
# Test
15+
- script: make verify build build-integration build-e2e test images svcat
16+
# Deploy
17+
- stage: deploy
18+
deploy:
19+
skip_cleanup: true
20+
provider: script
21+
script: contrib/travis/deploy.sh
22+
on:
23+
repo: kubernetes-incubator/service-catalog
24+
all_branches: true

0 commit comments

Comments
 (0)