pinafore/.travis.yml

26 lines
449 B
YAML
Raw Normal View History

2018-04-10 03:40:36 +02:00
language: node_js
node_js:
- "8"
2018-04-10 03:44:37 +02:00
dist: trusty # needed for chrome headless
sudo: required # needed for chrome headless
addons:
chrome: stable
2018-04-10 03:40:36 +02:00
services:
- postgresql
- redis-server
before_install:
- rvm install 2.5.0
before_script:
- npm run lint
2018-04-10 03:44:37 +02:00
script: npm run test-browser
env:
matrix:
- BROWSER=chrome:headless
- BROWSER=firefox:headless
2018-04-10 03:40:36 +02:00
branches:
only:
- master
- /^greenkeeper/.*$/
cache:
directories:
- $HOME/.npm