ipfs/.travis.yml

24 lines
499 B
YAML

dist: xenial
sudo: required
language: node_js
node_js: node
cache:
npm: true
directories:
- .next/cache
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