This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
outline/circle.yml
2018-05-12 15:24:55 -07:00

29 lines
788 B
YAML

machine:
node:
version: 8.11
services:
- redis
environment:
NODE_ENV: test
PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
SECRET_KEY: F0E5AD933D7F6FD8F4DBB3E038C501C052DC0593C686D21ACB30AE205D2F634B
DATABASE_URL_TEST: postgres://ubuntu@localhost:5432/circle_test
DATABASE_URL: postgres://ubuntu@localhost:5432/circle_test
URL: http://localhost:3000
SMTP_FROM_EMAIL: hello@example.com
AWS_S3_UPLOAD_BUCKET_URL: https://s3.amazonaws.com
AWS_S3_UPLOAD_BUCKET_NAME: outline-circle
dependencies:
override:
- yarn install --pure-lockfile
cache_directories:
- ~/.cache/yarn
test:
pre:
- sequelize db:migrate --url postgres://ubuntu@localhost:5432/circle_test
override:
- yarn test
- yarn lint