Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- image: node:latest
- before_script:
- # Install and start virtual screen
- - apt-get update
- - apt-get install -y libgtk2.0-0 libgconf-2-4 libasound2 libxtst6 libxss1 libnss3 xvfb
- - Xvfb -ac -screen scrn 1280x2000x24 :9.0 &
- - export DISPLAY=:9.0
- # Install npm dependencies
- - npm install --silent
- build_job:
- script:
- - "npm test"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement