mirror of
https://github.com/ceph/go-ceph
synced 2025-02-03 03:52:15 +00:00
86945c70db
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>
29 lines
532 B
YAML
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
|