2016-10-04 14:59:20 +02:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
2016-10-16 12:21:05 +02:00
|
|
|
- "stable"
|
|
|
|
script:
|
2018-11-05 19:02:35 +01:00
|
|
|
- npm run build
|
2018-11-28 12:57:52 +01:00
|
|
|
- npm run test
|
|
|
|
# - npm run test:ci
|
2018-11-12 21:52:42 +01:00
|
|
|
# - cat coverage/firefox/lcov.info | node_modules/.bin/coveralls
|
2016-10-12 12:46:32 +02:00
|
|
|
addons:
|
2018-11-28 12:57:52 +01:00
|
|
|
firefox: "latest"
|
|
|
|
chrome: "stable"
|
2018-11-12 21:52:42 +01:00
|
|
|
# hosts:
|
|
|
|
# - karmalocal.com
|
2016-10-04 14:59:20 +02:00
|
|
|
before_install:
|
2016-10-08 21:49:46 +02:00
|
|
|
# Start a display server where all graphical operations happens in memory
|
2016-10-04 14:59:20 +02:00
|
|
|
- export DISPLAY=:99.0
|
|
|
|
- sh -e /etc/init.d/xvfb start
|
2018-11-12 21:52:42 +01:00
|
|
|
#cache:
|
|
|
|
# directories:
|
|
|
|
# - node_modules
|