2017-01-12 17:52:03 +00:00
|
|
|
sudo: required
|
2018-12-10 22:17:39 +00:00
|
|
|
language: go
|
2020-03-11 17:44:28 +00:00
|
|
|
dist: bionic
|
2018-12-10 22:17:39 +00:00
|
|
|
|
2018-07-07 17:34:56 +00:00
|
|
|
services:
|
|
|
|
- docker
|
2014-08-31 01:57:17 +00:00
|
|
|
|
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- gh-pages
|
|
|
|
|
2018-08-09 02:35:28 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- env: CEPH_VERSION=luminous
|
|
|
|
- env: CEPH_VERSION=mimic
|
2019-10-31 13:48:45 +00:00
|
|
|
- env: CEPH_VERSION=nautilus
|
2020-03-11 21:08:16 +00:00
|
|
|
# use 'master' for soon-to-be-released 'octopus' until we have proper
|
|
|
|
# octopus named tags on containers
|
|
|
|
- env: CEPH_VERSION=master
|
2017-01-12 17:52:03 +00:00
|
|
|
|
2018-08-09 02:35:28 +00:00
|
|
|
before_install: |
|
2020-03-11 17:51:05 +00:00
|
|
|
make ci-image CEPH_VERSION=${CEPH_VERSION}
|
2014-08-31 01:57:17 +00:00
|
|
|
|
2018-12-10 22:17:39 +00:00
|
|
|
before_script:
|
2019-12-12 02:04:19 +00:00
|
|
|
- go get github.com/mgechev/revive
|
2018-12-10 22:17:39 +00:00
|
|
|
|
2018-10-10 22:06:47 +00:00
|
|
|
# cephfs (fuse) requires: --device /dev/fuse --cap-add SYS_ADMIN --security-opt apparmor:unconfined
|
2015-01-13 05:01:25 +00:00
|
|
|
script:
|
2020-03-11 17:51:05 +00:00
|
|
|
- make test-container CEPH_VERSION=${CEPH_VERSION}
|
2019-12-12 02:04:19 +00:00
|
|
|
# run style checks
|
2018-12-10 22:17:39 +00:00
|
|
|
- make check
|