-
Notifications
You must be signed in to change notification settings - Fork 75
/
.travis.yml
45 lines (37 loc) · 1.2 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
# Setting "sudo" to false forces Travis-CI to use its
# container-based build infrastructure, which has shorter
# queue times.
sudo: false
# Use the newer Travis-CI build templates based on the
# Debian Linux distribution "Trusty" release.
dist: trusty
# Select Go as the language used to run the buid.
language: go
go: 1.12
go_import_path: github.com/rexray/gocsi
jobs:
include:
# Test GoCSI's gocsi.sh script by creating and serving new SP and
# then using csc to invoke GetSupportedVersions and GetPluginInfo
- stage: test
env: JOB=csi-sp
install: make -C csc
script: make $JOB
# Test the utils package.
- stage: test
env: JOB=test-utils
script: make $JOB
# Test the Mock SP's idempotent behavior.
- stage: test
env: JOB=test-idempotent
script: make $JOB
# Test GoCSI with the Mock SP and etcd as the distributed lock
# provider.
- stage: test
env: JOB=test-etcd
script: make $JOB
# Test the serial volume middleware's etcd distributed lock
# provider.
- stage: test
env: JOB=test-serialvolume-etcd
script: make $JOB