forked from bhavyaagg/leads-tracker
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcircle.yml
More file actions
23 lines (23 loc) · 719 Bytes
/
circle.yml
File metadata and controls
23 lines (23 loc) · 719 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
machine:
node:
version: 8.1.4
environment:
CC_TEST_REPORTER_ID: 14438324c5082791ed55baa7ba814b56c2b872bf4f83462a0e6139989b324cc1
NODE_ENV: dev
DATABASE_URL: "postgres://ubuntu@localhost:5432/circle_test"
dependencies:
override:
- yarn install --production=false
post:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > /tmp/cc-test-reporter
- chmod +x /tmp/cc-test-reporter
test:
pre:
- yarn global add typescript nyc mocha
- /tmp/cc-test-reporter before-build
override:
- npm run cover
- cp -r coverage/* $CIRCLE_TEST_REPORTS
post:
- bash <(curl -s https://codecov.io/bash)
- /tmp/cc-test-reporter after-build