forked from ks888/LambStatus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwercker.yml
34 lines (34 loc) · 1.1 KB
/
wercker.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
---
box: node:10.16.3
build:
steps:
- install-packages:
packages: xvfb x11-xkb-utils xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic x11-apps clang libdbus-1-dev libgtk2.0-dev libnotify-dev libgnome-keyring-dev libgconf2-dev libasound2-dev libcap-dev libcups2-dev libxtst-dev libxss1 libnss3-dev gcc-multilib g++-multilib libgconf2-4 gtk2-engines-pixbuf
- npm-install:
cwd: packages/lambda
- npm-install:
cwd: packages/frontend
- script:
name: lint lambda package
cwd: packages/lambda
code: |
npm run lint
- script:
name: lint frontend package
cwd: packages/frontend
code: |
npm run lint
- script:
name: test lambda package
cwd: packages/lambda
code: |
npm run test:coverage
- script:
name: test frontend package
cwd: packages/frontend
code: |
xvfb-run -a --server-args="-screen 0 1024x768x24" npm run test
- script:
name: send test coverage to codecov
code: |
npm install codecov && npm run codecov