forked from fatih/kite
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
19 lines (19 loc) · 783 Bytes
/
.travis.yml
File metadata and controls
19 lines (19 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
language: go
go:
- 1.3
- 1.4
install:
- go get -d -v -t ./...
script:
- make test
addons:
postgresql: "9.3"
before_script:
- psql postgres -f kontrol/001-schema.sql -U postgres
- psql -c 'CREATE DATABASE kontrol owner kontrol;' -U postgres
- psql kontrol -f kontrol/002-table.sql -U postgres
env:
- KITE_TRANSPORT="XHRPolling" KONTROL_STORAGE="etcd"
- KITE_TRANSPORT="XHRPolling" KONTROL_STORAGE=postgres KONTROL_POSTGRES_USERNAME=kontrolapplication KONTROL_POSTGRES_DBNAME=kontrol KONTROL_POSTGRES_PASSWORD=somerandompassword
- KITE_TRANSPORT="WebSocket" KONTROL_STORAGE="etcd"
- KITE_TRANSPORT="WebSocket" KONTROL_STORAGE=postgres KONTROL_POSTGRES_USERNAME=kontrolapplication KONTROL_POSTGRES_DBNAME=kontrol KONTROL_POSTGRES_PASSWORD=somerandompassword