I hereby claim:
- I am bochenski on github.
- I am bochenski (https://keybase.io/bochenski) on keybase.
- I have a public key whose fingerprint is DDA6 7F27 ABA2 381D 0AC9 8A45 88A2 35FD 05C8 4834
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| package main | |
| import ( | |
| "github.com/codegangsta/negroni" | |
| "github.com/gorilla/context" | |
| "github.com/unrolled/render" | |
| "labix.org/v2/mgo" | |
| "labix.org/v2/mgo/bson" | |
| "log" | |
| "net/http" |
| #!/bin/bash | |
| # Setup and start Sauce Connect for your TravisCI build | |
| # This script requires your .travis.yml to include the following two private env variables: | |
| # SAUCE_USERNAME | |
| # SAUCE_ACCESS_KEY | |
| # Follow the steps at https://saucelabs.com/opensource/travis to set that up. | |
| # | |
| # Curl and run this script as part of your .travis.yml before_script section: | |
| # before_script: |
| #!/bin/bash | |
| #A hook script to ensure that all tests are passing before committing | |
| #The script tests whether changes have been made in the relevant directory | |
| pwd | |
| sometext=`git status` | |
| if [[ "$sometext" =~ 'play/stocksystem/' ]]; | |
| then | |
| echo "you changed something in the stocksystem" | |
| echo "running tests before proceeding with commit" | |
| play auto-test ./play/stocksystem |