language: go
go_import_path: github.com/vlifesystems/rulehunter
sudo: required

go:
  - 1.8
  - 1.9
  - tip

services:
  - mysql
  - postgresql

before_install:
  - go get github.com/mattn/goveralls
  - go get golang.org/x/tools/cmd/cover
  - go get github.com/lawrencewoodman/roveralls
  - mysql < ci/createflow_travis_mysql.sql
  - psql -U postgres -d master < ci/createflow_travis_postgres.sql

script:
  - chmod +x linux-test-su.sh
  - sudo ./linux-test-su.sh $GOPATH `which go` "travis upstart"
  - pwd
  - go test -covermode=count -coverprofile=profile.coverprofile
  - ls -la profile.coverprofile
  - cat profile.coverprofile
  - $HOME/gopath/bin/roveralls -v
  - $HOME/gopath/bin/goveralls -coverprofile=roveralls.coverprofile -service=travis-ci
  - cd examples
  - chmod +x bin/init_www_unix.sh
  - bin/init_www_unix.sh
  - rulehunter --config=config_quick.yaml

language: go
go_import_path: github.com/vlifesystems/rulehunter
sudo: required

go:
  - 1.8
  - 1.9
  - tip

services:
  - mysql
  - postgresql

before_install:
  - go get github.com/mattn/goveralls
  - go get golang.org/x/tools/cmd/cover
  - go get github.com/lawrencewoodman/roveralls
  - mysql < ci/createflow_travis_mysql.sql
  - psql -U postgres < ci/createflow_travis_postgres.sql

script:
  - chmod +x linux-test-su.sh
  - sudo ./linux-test-su.sh $GOPATH `which go` "travis upstart"
  - pwd
  - go test -covermode=count -coverprofile=profile.coverprofile
  - ls -la profile.coverprofile
  - cat profile.coverprofile
  - $HOME/gopath/bin/roveralls -v
  - $HOME/gopath/bin/goveralls -coverprofile=roveralls.coverprofile -service=travis-ci
  - cd examples
  - chmod +x bin/init_www_unix.sh
  - bin/init_www_unix.sh
  - rulehunter --config=config_quick.yaml

Remove database specifier from psql
Remove database specifier from psql
