forked from sodafoundation/api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
executable file
·48 lines (37 loc) · 928 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
48
dist: xenial
sudo: required
language: go
go_import_path: github.com/sodafoundation/api
go:
- 1.12.x
- 1.13.x
- tip
env:
- TARGET=amd64
GO111MODULE=on
services:
- docker
before_install:
- sudo apt-get update
- sudo apt-get install -y build-essential gcc
- sudo apt-get install -y librados-dev librbd-dev
- sudo apt-get install -y lvm2 tgt open-iscsi
- sudo docker pull p1c2u/openapi-spec-validator
matrix:
fast_finish: true
allow_failures:
- go: tip
exclude:
install:
# TODO: Remove once source code is fixed for sodafoundation
- ln -s $GOPATH/src/sodafoundation $GOPATH/src/opensds
# Build OpenSDS Controller source code
- make osdsapiserver
- make osdsctl
script:
- ./install/CI/coverage
- ./install/CI/test
after_success:
- bash <(curl -s https://codecov.io/bash)
# Clean OpenSDS Controller built data
- make clean