-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathcircle.yml
More file actions
36 lines (32 loc) · 792 Bytes
/
circle.yml
File metadata and controls
36 lines (32 loc) · 792 Bytes
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
28
29
30
31
32
33
34
35
36
machine:
environment:
PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
node:
version: 6
dependencies:
override:
- yarn global add greenkeeper-lockfile@1
- yarn
cache_directories:
- ~/.cache/yarn
pre:
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
test:
before:
- greenkeeper-lockfile-update
override:
- npm run lint
- npm run build_all
- npm run check_circular_dependencies
- npm run cover
post:
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- greenkeeper-lockfile-upload
notify:
webhooks:
- url: http://teambition.vvlyn.com/api/circle
deployment:
npm:
tag: /v[0-9]+(\.[0-9]+)*(-(alpha|beta)\.[0-9]+)?/
commands:
- sh tools/publish.sh