-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathwercker.yml
30 lines (23 loc) · 1010 Bytes
/
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
box: node:7
build:
steps:
- script:
name: install deps
code: |
apt-get update && apt-get install -y xvfb x11-xkb-utils xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic x11-apps clang libdbus-1-dev libgtk2.0-0 libnotify-dev libgnome-keyring-dev libgconf-2-4 libasound2 libcap-dev libcups2-dev libxtst-dev libxss1 libnss3 gcc-multilib g++-multilib libxtst6
echo "node version $(node -v) running"
echo "npm version $(npm -v) running"
uname -a
- script:
name: start xvfb
code: |
export DISPLAY=':99.0'
Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
#export DISPLAY=:99.0
#start-stop-daemon --start --quiet --pidfile /tmp/xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1024x768x24 -ac +extension GLX +extension RANDR +render -noreset
sleep 3
- npm-install
- script:
name: npm test
code: |
npm test