forked from firefox-devtools/debugger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
59 lines (54 loc) · 1.3 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
machine:
node:
version: 7.0
services:
- docker
environment:
DOWNLOADS_PATH: "$HOME/downloads"
YARN_PATH: "$HOME/.yarn"
YARN_VERSION: 0.19.1
PATH: "${PATH}:${HOME}/.yarn/bin:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
post:
- mkdir -p $DOWNLOADS_PATH
- mkdir -p $YARN_PATH
checkout:
post:
- cp configs/ci.json configs/local.json
test:
override:
- mkdir -p $CIRCLE_TEST_REPORTS/mocha
- mkdir -p $CIRCLE_TEST_REPORTS/flow-coverage
- node src/test/node-unit-tests.js --ci:
environment:
MOCHA_FILE: $CIRCLE_TEST_REPORTS/mocha/test-results.xml
- ./bin/run-mochitests-docker
post:
- yarn run lint-css
- yarn run lint-js
- yarn run flow
- yarn run flow-coverage -- -t json -o $CIRCLE_TEST_REPORTS/flow-coverage
- yarn check
- bash <(curl -s https://codecov.io/bash) -f $CIRCLE_TEST_REPORTS/flow-coverage/flow-coverage.json
dependencies:
pre:
- ./bin/install-yarn
cache_directories:
- ~/downloads
- ~/.cache/yarn
- ~/.yarn
override:
- yarn install
- ./bin/update-docker
general:
artifacts:
- "yarn-error.log"
experimental:
notify:
branches:
only:
- master
deployment:
greenkeeper:
branch: /greenkeeper\/.*/
commands:
- ./bin/update-yarn-lock-file