forked from sodafoundation/strato
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (34 loc) · 1014 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
dist: xenial
sudo: required
language: go
go_import_path: github.com/opensds/multi-cloud
go:
- 1.13
- tip
services:
- docker
env:
matrix:
- TARGET=amd64
GO111MODULE=on
before_install:
- wget -qO - https://packages.confluent.io/deb/5.3/archive.key | sudo apt-key add -
- wget -q -O- "https://download.ceph.com/keys/release.asc" | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://packages.confluent.io/deb/5.3 stable main"
- sudo apt-add-repository "deb https://download.ceph.com/debian-luminous/ xenial main"
- sudo apt-get update && sudo apt-get install -y libradosstriper-dev librados-dev librdkafka-dev
matrix:
fast_finish: true
allow_failures:
- go: tip
install:
# Build SODA multi-cloud container images
- travis_wait 10 make docker
- travis_wait 10 docker-compose up -d
script:
- ./install/CI/coverage
- ./install/CI/test
after_success:
# Clean SODA multi-cloud built data
- bash <(curl -s https://codecov.io/bash)
- make clean