go-ceph/.travis.yml
John Mulligan 86945c70db travis: use makefile rules in travis configuration
Instead of duplicating some of the actions in the travis yaml file and
the Makefile, have travis rules make use of the Makefile.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2020-03-12 13:33:16 +01:00

29 lines
532 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
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