-
Notifications
You must be signed in to change notification settings - Fork 59
/
.travis.yml
44 lines (34 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
sudo: required
dist: xenial
branches:
only:
- master
- "/^v[0-9]/"
jobs:
include:
- stage: Tests
name: "Default (minikube with latest k8s)"
- name: "kind (latest k8s)"
env: CPLATFORM=kind
- name: "k3s (latest k8s)"
env: CPLATFORM=k3s
- name: "oc cluster (latest okd)"
env: CPLATFORM=oc_cluster
- name: "minishift (latest okd)"
env: CPLATFORM=minishift
cache:
directories:
- cache
- ~/.minishift/cache
- ~/.minikube/cache
before_script:
## FIXME Workaround for https://github.com/kubernetes/kubernetes/issues/61058
### And https://github.com/LiliC/travis-minikube/blob/e0f26f7b388057f51a0e2558afd5f990e07b6c49/.travis.yml#L11
- sudo mount --make-rshared /
### conntrack is required by kube 1.18
- sudo apt-get install -y conntrack
- bash -x ci/prepare-host $CPLATFORM $CVER
- bash -x ci/start-cluster $CPLATFORM $CVER
- bash -x ci/deploy-kubevirt $CPLATFORM
script:
- bash -x test.sh