forked from facebookarchive/atom-ide-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
33 lines (30 loc) · 805 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
28
29
30
31
32
33
machine:
environment:
PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
COVERAGE_DIR: "${HOME}/${CIRCLE_PROJECT_REPONAME}/.nyc_output"
node:
version: 7.4.0
dependencies:
override:
# Copied from https://github.com/atom/ci/blob/master/circle.yml
- >
curl -s -L "https://atom.io/download/deb?channel=${ATOM_CHANNEL}" \
-H 'Accept: application/octet-stream' \
-o "atom-amd64.deb"
- sudo dpkg --install atom-amd64.deb || true
- sudo apt-get update
- sudo apt-get --fix-broken --assume-yes --quiet install
- yarn
cache_directories:
- ~/.cache/yarn
test:
pre:
- mkdir "$COVERAGE_DIR"
post:
- scripts/initial-coverage.js
- nyc report -r lcovonly
- codecov
notify:
branches:
only:
- master