2017-01-12 17:52:03 +00:00
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
|
|
|
|
2014-08-31 01:57:17 +00:00
|
|
|
language: go
|
|
|
|
|
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- gh-pages
|
|
|
|
|
2017-01-12 17:52:03 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- env: CEPH_RELEASE=jewel
|
|
|
|
- env: CEPH_RELEASE=kraken
|
|
|
|
|
2014-08-31 01:57:17 +00:00
|
|
|
before_install:
|
2017-01-12 17:52:03 +00:00
|
|
|
- sudo apt-get update
|
|
|
|
- ci/before_install.sh
|
2014-11-27 19:04:19 +00:00
|
|
|
- bash ci/micro-osd.sh /tmp/micro-ceph
|
|
|
|
- export CEPH_CONF=/tmp/micro-ceph/ceph.conf
|
|
|
|
- ceph status
|
2014-08-31 01:57:17 +00:00
|
|
|
|
2015-01-13 05:01:25 +00:00
|
|
|
script:
|
2017-01-12 17:52:03 +00:00
|
|
|
- go get -t -v ./...
|
|
|
|
- go list ./...
|
|
|
|
- go test -v $(go list ./... | grep -v cephfs)
|
|
|
|
- go fmt ./...
|
2018-01-30 18:12:42 +00:00
|
|
|
- go vet ./...
|