2019-10-16 17:26:46 +02:00
|
|
|
dist: xenial
|
2019-10-18 11:32:36 +02:00
|
|
|
sudo: required
|
2019-10-16 17:26:46 +02:00
|
|
|
language: node_js
|
|
|
|
node_js: node
|
|
|
|
|
|
|
|
cache: npm
|
|
|
|
|
2019-10-18 11:32:36 +02:00
|
|
|
before_install:
|
|
|
|
# Fixes an issue where the max file watch count is exceeded, triggering ENOSPC
|
|
|
|
# https://stackoverflow.com/questions/22475849/node-js-error-enospc#32600959
|
|
|
|
- echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
|
|
|
|
|
2019-10-16 17:26:46 +02:00
|
|
|
# will run `npm install` automatically here
|
|
|
|
|
|
|
|
script:
|
|
|
|
- npm test
|
|
|
|
- npm run build
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|