From c4954b94b84d1d94f06502beb79f9e2e3f001e5a Mon Sep 17 00:00:00 2001 From: lealife Date: Fri, 18 Sep 2015 13:44:25 +0800 Subject: [PATCH] rmove testrunner --- .travis.yml | 3 ++- conf/app.conf | 2 +- conf/routes | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index a39eade..6cf5bd9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,7 +25,8 @@ script: # build - go build -o leanote github.com/leanote/leanote/app/tmp # run with port 9000 - - ./leanote -importPath=github.com/leanote/leanote -runMode=prod -port=9000 & + - ./leanote -importPath=github.com/leanote/leanote -runMode=dev -port=9000 & + - sleep 20s; # test - curl http://localhost:9000 - curl http://localhost:9000/blog diff --git a/conf/app.conf b/conf/app.conf index c46a18e..51d051c 100644 --- a/conf/app.conf +++ b/conf/app.conf @@ -53,7 +53,7 @@ mode.dev=true results.pretty=true watch=true -module.testrunner = github.com/revel/modules/testrunner +module.testrunner = # github.com/revel/modules/testrunner log.trace.output = stderr log.info.output = stderr diff --git a/conf/routes b/conf/routes index 1f40074..aaea1a7 100644 --- a/conf/routes +++ b/conf/routes @@ -2,7 +2,7 @@ # This file defines all application routes (Higher priority routes first) # ~~~~ -module:testrunner +# module:testrunner # Home is My Blog Get / Index.Default