forked from interledgerjs/ilp-connector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
27 lines (27 loc) · 834 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
machine:
services:
- docker
node:
version: 8.9.4
test:
override:
- npm run lint
- XUNIT_FILE=${CIRCLE_TEST_REPORTS}/mocha.xml npm test --coverage -- -R spec-xunit-file
# Run integration test suite
# TODO: Re-enable integration tests once they are updated for ILPv4
# - if git log -1 --pretty=%B | grep -qF "[skip tests]"; then true; else npm run integration; fi
post:
- npm run report-coverage
deployment:
production:
branch: master
commands:
# Necessary git config to run website deployment on CircleCI
- git config --global user.email "info@circleci.com"
- git config --global user.name "CircleCI"
- git config --global push.default simple
- node scripts/publish_web.js
- ./scripts/ci-deploy.sh
general:
artifacts:
- "coverage/lcov-report"