Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (27 sloc) 872 Bytes
language: node_js
node_js:
- node
notifications:
email:
on_success: always
on_failure: always
before_install:
- curl -L https://unpkg.com/@pnpm/self-installer | node
install:
- pnpm install || travis_terminate 1
- pnpm install -g codecov || travis_terminate 1
script:
- pnpm run eslint || travis_terminate 1
- pnpm run standard || travis_terminate 1
- codecov || travis_terminate 1
after_success:
- 'wget -qO- https://raw.githubusercontent.com/shikhir-arora/karma-simple/master/installer.sh | bash'
- wget https://raw.githubusercontent.com/k3rn31p4nic/travis-ci-discord-webhook/master/send.sh
- chmod +x send.sh
- ./send.sh success $WEBHOOK_URL
after_failure:
- wget https://raw.githubusercontent.com/k3rn31p4nic/travis-ci-discord-webhook/master/send.sh
- chmod +x send.sh
- ./send.sh failure $WEBHOOK_URL
dist: trusty
sudo: required