forked from project-codeflare/multi-cluster-app-dispatcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (24 loc) · 734 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
language: go
sudo: required
env:
- HOME=/home/travis
services:
- docker
go:
- "1.16.3"
go_import_path: github.com/IBM/multi-cluster-app-dispatcher
install:
- go get -u golang.org/x/lint/golint
before_script:
- export TEST_LOG_LEVEL=4
script:
# - make
- make mcad-controller
- make run-test
# Process 'make images' when NOT a pull request
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then make images; fi'
# Process 'make images' when running as a pull request
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then unset dockerhub_repository && make images; fi'
# Process 'make push-images' when NOT a pull request
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then make push-images; fi'
- make run-e2e