go-ceph/.travis.yml

32 lines
676 B
YAML
Raw Normal View History

sudo: required
2018-12-10 22:17:39 +00:00
language: go
dist: bionic
2018-12-10 22:17:39 +00:00
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}
2018-12-10 22:17:39 +00:00
before_script:
- go get github.com/mgechev/revive
2018-12-10 22:17:39 +00:00
# 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
2018-12-10 22:17:39 +00:00
- make check