Skip to content
This repository has been archived by the owner on Apr 20, 2019. It is now read-only.

Commit

Permalink
test travis running server
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbe committed Feb 25, 2015
1 parent 112beed commit 2ec9477
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
node_modules/
cover.out
gin-bin
/server
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -17,3 +12,8 @@ env:

script:
- go test -v ./...
- ./travis-e2e.sh

notifications:
email:
on_success: never
7 changes: 7 additions & 0 deletions travis-e2e.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2ec9477

Please sign in to comment.