go-ceph/.travis.yml

30 lines
564 B
YAML

sudo: required
language: go
dist: bionic
services:
- docker
branches:
except:
- gh-pages
matrix:
include:
- env: CEPH_VERSION=luminous
- env: CEPH_VERSION=mimic
- env: CEPH_VERSION=nautilus
- env: CEPH_VERSION=octopus
before_install: |
make ci-image CEPH_VERSION=${CEPH_VERSION}
before_script:
- go get github.com/mgechev/revive
# cephfs (fuse) requires: --device /dev/fuse --cap-add SYS_ADMIN --security-opt apparmor:unconfined
script:
- make test-container CEPH_VERSION=${CEPH_VERSION}
# run style checks
- make check