Skip to content

Commit

Permalink
Adding travis configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
asdine committed Jan 9, 2018
1 parent 22af010 commit d62934d
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
sudo: required

language: go

services:
- docker

before_install:
- wget "https://github.com/Masterminds/glide/releases/download/v0.13.1/glide-v0.13.1-linux-amd64.tar.gz"
- mkdir -p $GOPATH/bin
- tar -vxz -C $GOPATH/bin --strip=1 -f glide-v0.13.1-linux-amd64.tar.gz
- export PATH="$GOPATH/bin:$PATH"
- docker run -d -p 2379:2379 quay.io/coreos/etcd /usr/local/bin/etcd -advertise-client-urls http://0.0.0.0:2379 -listen-client-urls http://0.0.0.0:2379

install: glide install

go:
- 1.7
- 1.8
- 1.9
- tip

script:
- go test -v -race -cover -timeout=1m $(glide novendor)
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Confita

[![Build Status](https://travis-ci.org/heetch/confita.svg?branch=master)](https://travis-ci.org/heetch/confita)
[![GoDoc](https://godoc.org/github.com/heetch/confita?status.svg)](https://godoc.org/github.com/heetch/confita)
[![Go Report Card](https://goreportcard.com/badge/github.com/heetch/confita)](https://goreportcard.com/report/github.com/heetch/confita)

Expand Down

0 comments on commit d62934d

Please sign in to comment.