From a8574afe6a1d8cba740b3e83b9e8dc478d2b4431 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Wed, 7 Dec 2016 20:59:14 +0800 Subject: [PATCH] remove docker from travis Signed-off-by: Bo-Yi Wu --- .travis.yml | 14 +++++--------- Makefile | 2 +- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0a09308..6083f0b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ sudo: required language: go services: - - docker + - redis go: - 1.6.4 @@ -25,15 +25,11 @@ before_install: - mkdir -p $GOPATH/bin - curl https://glide.sh/get | sh -install: - - go get github.com/mattn/goveralls - - make docker_build - - make docker_production - script: - - make docker_test - - $(go env GOPATH | awk 'BEGIN{FS=":"} {print $1}')/bin/goveralls -coverprofile=.cover/coverage.txt - -service=travis-ci -repotoken=$COVERALLS_TOKEN + - make dep_install + - make vet + - make lint + - make test after_success: - bash <(curl -s https://codecov.io/bash) -f .cover/coverage.txt diff --git a/Makefile b/Makefile index 8347f87..4cccdb3 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: all +.PHONY: all test build fmt vet errcheck lint install update release-dirs release-build release-copy release-check release export PROJECT_PATH = /go/src/github.com/appleboy/gorush