go-ceph/.travis.yml

32 lines
676 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
# use 'master' for soon-to-be-released 'octopus' until we have proper
# octopus named tags on containers
- env: CEPH_VERSION=master
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