go-ceph/.travis.yml

30 lines
564 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
- env: CEPH_VERSION=octopus
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