2017-10-31 14:03:13 +00:00
|
|
|
dist: trusty
|
|
|
|
language: go
|
|
|
|
go:
|
2018-12-14 17:52:02 +00:00
|
|
|
- 1.11
|
2017-10-31 14:03:13 +00:00
|
|
|
services:
|
|
|
|
- postgresql
|
2017-12-07 15:58:06 +00:00
|
|
|
addons:
|
2019-03-14 21:49:27 +00:00
|
|
|
postgresql: '9.6'
|
2018-01-26 00:10:54 +00:00
|
|
|
go_import_path: github.com/vulcanize/vulcanizedb
|
2018-01-03 18:42:48 +00:00
|
|
|
before_install:
|
2018-02-08 16:12:08 +00:00
|
|
|
- make installtools
|
2018-03-27 21:06:12 +00:00
|
|
|
- bash ./scripts/install-postgres-10.sh
|
2018-10-01 15:17:53 +00:00
|
|
|
- curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
|
|
|
|
- echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
|
|
|
|
- sudo apt-get update && sudo apt-get install yarn
|
2018-01-03 18:42:48 +00:00
|
|
|
before_script:
|
2018-02-08 16:12:08 +00:00
|
|
|
- sudo -u postgres createdb vulcanize_private
|
2018-03-27 21:06:12 +00:00
|
|
|
- make migrate NAME=vulcanize_private
|
2018-10-01 15:17:53 +00:00
|
|
|
- cd postgraphile && yarn
|
2018-01-03 17:23:43 +00:00
|
|
|
script:
|
2018-10-01 15:17:53 +00:00
|
|
|
- yarn test
|
|
|
|
- cd ../
|
2018-02-08 16:12:08 +00:00
|
|
|
- make test
|
2018-10-17 18:04:55 +00:00
|
|
|
- make integrationtest
|
2017-10-31 14:03:13 +00:00
|
|
|
notifications:
|
|
|
|
email: false
|
2019-03-14 21:49:27 +00:00
|
|
|
env:
|
|
|
|
matrix:
|
2019-03-28 01:10:52 +00:00
|
|
|
secure: GA4GiMHy868UD/C+59jRUOdJxxdLSMauNapPA31AODUMv0lcEOXg6TBJkv6Vn3OOrLHYYSpwCGiGQjF86U2vpKWzD1mSITalPfP/kNpFnrHVNf2oPpfrQs8ccs9gnFpbCNLDy0w2+55pgnrd5hvdnlsTEUS1lHWSKEZmWsSqUeS/dw22IS0+nUja0Pc3pHaWlJz2R502uEKIixjq1fOX65Z/9r1BrMqklOwWrABK0GwgYcDZwc+b3iovyDPkDa3sT/Ddz/srkcYi/Y182zdLdrknj3MVR3GiW5iSqIVm6gr427SFXF4EQVwkEBwAGoo83wRhCgCAslYTRZZ5aleb1HUtAWzuiMAd/JlAYb2jc6VJa19+rQ/5wd7Bann3hB5bY2uV+b02qFK3qWe6uqZLBSESWjFEyWJVoaXgpH0QDc0JG1R9UFxLSVa8NM3P/jgTnUgnAvdW36mTC4dg73Ha9bYdeLpuAZr6k8iTh5qp0CazKAazsdJ+ECNt6q3fkgsI/V5ZwCFfQwlauq+PiBaZsQqr7eeP19klipE3vGf6BCBRvCBdubzSgGZPIRkxOQREc24j/gzBjBNGeqoU2uOp8sXMEG5idfIyHbMU+n2Yi6IRKKPe5lwjgWEsqLkkoM2REMPIEPffRQz0f+mD48HWP0H4KjKHvubKRCE0v2ONlM4=
|