-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
49 lines (41 loc) · 959 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
46
47
48
49
sudo: required
language: go
go:
- 1.13
services:
- docker
env:
global:
- export GO111MODULE=on
- export USE_EXISTING_CLUSTER=true
- export POD_NAMESPACE=default
jobs:
- TEST_SUITE=unit
- TEST_SUITE=e2e- FLAG=apigateway
- TEST_SUITE=e2e- FLAG=cloud9
- TEST_SUITE=e2e- FLAG=cloudformation
- TEST_SUITE=e2e- FLAG=ecr
- TEST_SUITE=e2e- FLAG=iam
- TEST_SUITE=e2e- FLAG=lambda
- TEST_SUITE=e2e- FLAG=route53
- TEST_SUITE=e2e- FLAG=s3
install: true
branches:
only:
- master
before_install:
- |
set -e
make install-ci
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
chmod +x ./kubectl
sudo mkdir -p /usr/local/bin/
sudo mv ./kubectl /usr/local/bin/kubectl
script:
- |
set -e
make test-${TEST_SUITE}${FLAG}
after_success:
- |
set -e
bash <(curl -s https://codecov.io/bash) -f '*.out'