Commit 3fb46e3d authored by kosheo's avatar kosheo

Update CI script

parent 05435a27
Pipeline #23581410 failed with stages
in 4 minutes and 58 seconds
......@@ -2,6 +2,13 @@ image: node:8
stages:
- build
- test
before_script:
- echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | tee -a /etc/apt/sources.list
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
- apt-get update -yqq
- apt-get install -yqq xvfb iceweasel google-chrome-stable
build:
stage: build
......@@ -10,3 +17,16 @@ build:
- npm run-script dist
only:
- master
lint:
stage: test
script:
- npm run-script lint
test:
stage: test
before_script:
- Xvfb :99 -ac -screen 0 1024x768x24 &
- export DISPLAY=:99
script:
- npm test
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment