forked from SUSE/dex-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
30 lines (23 loc) · 815 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
language: go
# SCOPE OF THIS :
# we use travis only for running the acceptance tests for operators.
# Circleci isolated container network so we cannot run kind in circleci.
#
# Add all other tests in circleci and use make e2e-test
services:
- docker
go:
- '1.11.x'
services:
- docker
jobs:
include:
- stage: Integration Tests
before_script:
# Download and install kubectl
- curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.12.0/bin/linux/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/
# Download and install Kind
- make kind-install KIND_VERSION="0.0.1"
# Create a new Kubernetes cluster using KinD
- make kind-create-cluster
script: make kind-e2e-tests