2016-10-17 11:42:20 -04:00
|
|
|
go_import_path: github.com/minio/minio
|
2016-02-10 19:40:09 -05:00
|
|
|
sudo: required
|
2016-09-28 21:49:16 -04:00
|
|
|
|
2017-03-07 18:15:05 -05:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
2016-02-10 19:40:09 -05:00
|
|
|
dist: trusty
|
2016-09-28 21:49:16 -04:00
|
|
|
|
2015-04-11 20:23:13 -04:00
|
|
|
language: go
|
2016-01-14 21:17:24 -05:00
|
|
|
|
2018-08-19 16:57:18 -04:00
|
|
|
# this ensures PRs based on a local branch are not built twice
|
|
|
|
# the downside is that a PR targeting a different branch is not built
|
|
|
|
# but as a workaround you can add the branch to this list
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
|
2018-07-03 12:42:19 -04:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
env:
|
|
|
|
- ARCH=x86_64
|
|
|
|
go: 1.10.1
|
|
|
|
script:
|
|
|
|
- make
|
|
|
|
- diff -au <(gofmt -s -d cmd) <(printf "")
|
|
|
|
- diff -au <(gofmt -s -d pkg) <(printf "")
|
|
|
|
- make test GOFLAGS="-timeout 15m -race -v"
|
|
|
|
- make coverage
|
|
|
|
- node --version
|
|
|
|
- cd browser && yarn && yarn test && cd ..
|
2016-01-14 21:17:24 -05:00
|
|
|
|
2018-03-23 05:06:20 -04:00
|
|
|
before_install:
|
|
|
|
- nvm install stable
|
|
|
|
|
2016-08-04 19:48:50 -04:00
|
|
|
after_success:
|
2018-07-20 21:39:55 -04:00
|
|
|
- bash <(curl -s https://codecov.io/bash)
|