Skip to content

Instantly share code, notes, and snippets.

@paganotoni
Created August 17, 2018 20:18
Show Gist options
  • Save paganotoni/377fbdca65502664e899eff59ca410bf to your computer and use it in GitHub Desktop.
Save paganotoni/377fbdca65502664e899eff59ca410bf to your computer and use it in GitHub Desktop.
version: 2
jobs:
test:
docker:
- image: gobuffalo/buffalo:v0.12.3
working_directory: /go/src/github.com/our/app
steps:
- checkout
- run: |
service postgresql start
su -c "psql -c \"CREATE USER root WITH SUPERUSER;\"" - postgres
su -c "psql -c \"ALTER USER postgres WITH PASSWORD 'postgres';\"" - postgres
su -c "createdb symbol_test" - postgres
- run: dep ensure -v
- run: gometalinter ./... --skip=internal -d
- run: service postgresql start && buffalo test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment