-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
47 lines (36 loc) · 1006 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
sudo: required
dist: xenial
branches:
only:
- master
- "/^v[0-9]/"
env:
global:
- KUBEVIRT_VER=0.9.1
jobs:
include:
# - stage: Tests
# name: "Default (minikube with latest k8s)"
# - name: "minikube (latest k8s)"
# env: CPLATFORM=minikube
- name: "oc cluster (latest okd)"
env: CPLATFORM=oc_cluster
- name: "minishift (latest okd)"
env: CPLATFORM=minishift
# - name: "minikube (K8s v1.10)"
# env: CPLATFORM=minikube CVER=1.10.7
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 /
- bash -x ci/prepare-host $CPLATFORM
#- bash -x ci/prepare-host virtctl
- bash -x ci/start-cluster $CPLATFORM $CVER
#- bash -x ci/deploy-kubevirt $CPLATFORM
script:
- timeout 10m bash -x test.sh