From 0b719326bc456e16cf0fd42ae47ee78265ae2220 Mon Sep 17 00:00:00 2001 From: fatedier <512654112@qq.com> Date: Wed, 3 Feb 2016 18:14:16 +0800 Subject: [PATCH] Support travis-ci --- .travis.yml | 14 ++++++++++++++ Makefile | 3 +++ 2 files changed, 17 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..f41bc59 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,14 @@ +go_import_path: github.com/fatedier/frp +sudo: false +language: go + +go: + - 1.4.2 + - 1.5.2 + - tip + +install: + - make + +script: + - make test diff --git a/Makefile b/Makefile index 06a5054..682c9e4 100644 --- a/Makefile +++ b/Makefile @@ -13,3 +13,6 @@ frps: frpc: godep go build -o bin/frpc ./cmd/frpc + +test: + @godep go test ./...