Add travis-ci integration
This commit is contained in:
25
.travis.yml
Normal file
25
.travis.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
language: go
|
||||
go:
|
||||
- 1.4.2
|
||||
- 1.5.1
|
||||
- tip
|
||||
sudo: false
|
||||
install:
|
||||
- 'go get ./...'
|
||||
script: 'make test'
|
||||
matrix:
|
||||
allow_failures:
|
||||
- go: tip
|
||||
notifications:
|
||||
irc:
|
||||
channels:
|
||||
- "irc.freenode.net#mgmtconfig"
|
||||
template:
|
||||
- "%{repository} (%{commit}: %{author}): %{message}"
|
||||
- "More info : %{build_url}"
|
||||
on_success: always
|
||||
on_failure: always
|
||||
use_notice: false
|
||||
skip_join: false
|
||||
email:
|
||||
- travis-ci@shubin.ca
|
||||
@@ -5,6 +5,11 @@ set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
|
||||
if env | grep -q '^TRAVIS=true$'; then
|
||||
echo "Travis gives wonky results here, skipping test!"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
ROOT=$(dirname "${BASH_SOURCE}")/..
|
||||
|
||||
RUBY=`which ruby`
|
||||
|
||||
Reference in New Issue
Block a user