Add travis CI support

This commit is contained in:
Tobias Schmidt 2015-04-17 18:21:54 -04:00
parent 624c9b636c
commit 507de53eb7
3 changed files with 7 additions and 1 deletions

4
.travis.yml Normal file
View File

@ -0,0 +1,4 @@
language: go
script:
- make test

View File

@ -33,7 +33,7 @@ endif
MAKEFILE_DIR ?= $(realpath $(dir $(lastword $(MAKEFILE_LIST))))
GO_VERSION ?= 1.4.1
GO_VERSION ?= 1.4.2
GOURL ?= https://golang.org/dl
GOPKG ?= go$(GO_VERSION).$(GOOS)-$(GOARCH)$(RELEASE_SUFFIX).tar.gz
GOROOT := $(MAKEFILE_DIR)/.deps/go

View File

@ -43,6 +43,8 @@ Alertmanager.
## Running tests
[![Build Status](https://travis-ci.org/prometheus/alertmanager.svg)](https://travis-ci.org/prometheus/alertmanager)
make test
## Caveats and roadmap