forked from sodafoundation/api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
executable file
·67 lines (57 loc) · 1.53 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
dist: xenial
sudo: required
language: go
go_import_path: github.com/opensds/opensds
go:
- 1.11.x
- 1.12.x
- tip
env:
matrix:
- TARGET=amd64
# - TARGET=arm64
# - TARGET=arm
# - TARGET=386
# - TARGET=ppc64le
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
matrix:
fast_finish: true
allow_failures:
- go: tip
- script: osds_verify
- script: osds_e2etest_build
exclude:
# - go: tip
# env: TARGET=arm
# - go: tip
# env: TARGET=arm64
# - go: tip
# env: TARGET=386
# - go: tip
# env: TARGET=ppc64le
install:
# Build OpenSDS Controller source code
- make all
jobs:
include:
- stage: "Test Jobs" # naming the Tests stage
script: make
name: "builds osds core components" # names the first Tests stage job
- script: make osds_verify
name: "verify osds" # names the second Tests stage job
- script: make osds_unit_test
name: "unit test opensds" # names the third Tests stage job
- script: make osds_integration_test
name: "integration test opensds" # names the fourth Tests stage job
- script: make osds_e2etest_build
name: "e2e_test" # names the fifth Tests stage job
after_success:
- bash <(curl -s https://codecov.io/bash)
# Clean OpenSDS Controller built data
- make clean