From 2ec9477d2ea2f8b3f6bf8f682314f8034eaa8463 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 24 Feb 2015 12:27:51 -0800 Subject: [PATCH] test travis running server --- .gitignore | 1 + .travis.yml | 10 +++++----- travis-e2e.sh | 7 +++++++ 3 files changed, 13 insertions(+), 5 deletions(-) create mode 100755 travis-e2e.sh diff --git a/.gitignore b/.gitignore index 5624de3..8cce3b5 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ node_modules/ cover.out gin-bin +/server diff --git a/.travis.yml b/.travis.yml index d0263a5..7a062f5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,3 @@ -# This indicates to Travis that we will not use or need sudo -# so that we can benefit from and use the cache->directories -# directive. -sudo: no - language: go go: @@ -17,3 +12,8 @@ env: script: - go test -v ./... +- ./travis-e2e.sh + +notifications: + email: + on_success: never diff --git a/travis-e2e.sh b/travis-e2e.sh new file mode 100755 index 0000000..2866319 --- /dev/null +++ b/travis-e2e.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +go build server.go authkeys.go +./server -port=3000 -redisDatabase=8 & +# I wish a I knew a way to install python things without sudo +sudo pip install nose redis requests +nosetests