Created
August 17, 2018 20:18
-
-
Save paganotoni/377fbdca65502664e899eff59ca410bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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