Skip to content

Commit

Permalink
#6 add minio to .travis.yml
Browse files Browse the repository at this point in the history
Signed-off-by: mohemohe <mohemohe@ghippos.net>
  • Loading branch information
mohemohe committed May 5, 2019
1 parent 65df81b commit 71c8cf2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
language: go
sudo: false
sudo: required
go:
- 1.12
- tip
services:
- docker
before_install:
- go get github.com/golang/dep/...
install:
- $GOPATH/bin/dep ensure
before_script:
- docker run -d --name minio -e 'MINIO_ACCESS_KEY=accesskey' -e 'MINIO_SECRET_KEY=secretkey' -p 9000:9000 minio/minio:RELEASE.2018-12-27T18-33-08Z server /data
script:
- go test -race -coverprofile=coverage.txt -covermode=atomic
after_success:
Expand Down

0 comments on commit 71c8cf2

Please sign in to comment.