mirror of
https://github.com/oceanprotocol/ipfs
synced 2024-11-22 09:47:03 +01:00
21 lines
458 B
YAML
21 lines
458 B
YAML
dist: xenial
|
|
sudo: required
|
|
language: node_js
|
|
node_js: node
|
|
|
|
cache: npm
|
|
|
|
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
|
|
|
|
# will run `npm install` automatically here
|
|
|
|
script:
|
|
- npm test
|
|
- npm run build
|
|
|
|
notifications:
|
|
email: false
|