language: go
go:
- '1.3'
- '1.4'
- tip
install:
  - go get github.com/constabulary/gb/...
before_script:
- psql -c 'create database "horizon_test";' -U postgres
- psql -c 'create database "stellar-core_test";' -U postgres
script:
- bash scripts/run_tests.bash
env:
  global:
  - DATABASE_URL=postgres://localhost:5432/horizon_test?sslmode=disable&user=postgres
  - STELLAR_CORE_DATABASE_URL=postgres://localhost:5432/stellar-core_test?sslmode=disable&user=postgres
notifications:
  slack:
    secure: aZZCo+1qY0AIT4TJ0Q218XZbPzxNMPLznXI8CgWVAuI+6ipRWIWykaeB0H6EInejXuT8Cjx3OKxk6RCNPLiBr10TgDnEOPR2ycPXGHSjwE+omte8/Uq3VxfEU45Uh3AlwleMIn9/HVGgGxRGEY4GqUeA9+QPPZt2sswiVazbkx4=
services:
  - redis-server
addons:
  postgresql: '9.4'
matrix:
  allow_failures:
    - go: tip
    - go: '1.3'

language: go
go:
- '1.4'
- '1.5'
- tip
install:
  - go get github.com/constabulary/gb/...
before_script:
- psql -c 'create database "horizon_test";' -U postgres
- psql -c 'create database "stellar-core_test";' -U postgres
script:
- bash scripts/run_tests.bash
env:
  global:
  - DATABASE_URL=postgres://localhost:5432/horizon_test?sslmode=disable&user=postgres
  - STELLAR_CORE_DATABASE_URL=postgres://localhost:5432/stellar-core_test?sslmode=disable&user=postgres
notifications:
  slack:
    secure: aZZCo+1qY0AIT4TJ0Q218XZbPzxNMPLznXI8CgWVAuI+6ipRWIWykaeB0H6EInejXuT8Cjx3OKxk6RCNPLiBr10TgDnEOPR2ycPXGHSjwE+omte8/Uq3VxfEU45Uh3AlwleMIn9/HVGgGxRGEY4GqUeA9+QPPZt2sswiVazbkx4=
services:
  - redis-server
addons:
  postgresql: '9.4'
matrix:
  allow_failures:
    - go: tip

Add go 1.5 to test matrix
Add go 1.5 to test matrix
