forked from kubernetes-csi/csi-driver-smb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (44 loc) · 1.28 KB
/
.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
language: go
sudo: required
go_import_path: github.com/csi-driver/csi-driver-smb
dist: bionic
services:
- docker
go:
- "1.13.9"
jobs:
include:
- stage: test
name: "build test"
before_install:
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
script:
- make verify
- make smb-windows
- export DOCKER_CLI_EXPERIMENTAL=enabled && make container
- stage: test
name: "integration test"
install:
- GO111MODULE=off go get github.com/rexray/gocsi/csc
- sudo apt update && sudo apt install cifs-utils procps -y
script:
- make
- make integration-test
- stage: test
name: "sanity test"
install:
- sudo apt update && sudo apt install cifs-utils procps -y
script:
- make
- make sanity-test
- stage: test
name: "e2e test"
before_install:
- sudo apt-get -qq -y install conntrack
script:
- source test/utils/deploy-minikube.sh
- make
- make e2e-test