pinafore/.travis.yml

38 lines
695 B
YAML
Raw Normal View History

2018-04-10 02:40:36 +01:00
language: node_js
node_js:
- "8"
2018-04-10 02:44:37 +01:00
dist: trusty # needed for chrome headless
sudo: required # needed for chrome headless
addons:
chrome: stable
2018-04-10 02:50:35 +01:00
postgresql: "10"
apt:
packages:
- postgresql-10
- postgresql-client-10
2018-04-10 02:40:36 +01:00
services:
- redis-server
before_install:
- rvm install 2.5.0
2018-04-10 02:50:35 +01:00
- rvm use 2.5.0
- ruby --version
2018-04-10 03:07:28 +01:00
- node --version
2018-04-10 02:50:35 +01:00
- postgres --version
- redis-server --version
2018-04-10 03:07:28 +01:00
- psql -c "CREATE USER nolan CREATEDB;"
before_script:
2018-04-10 02:40:36 +01:00
- npm run lint
2018-04-10 02:44:37 +01:00
script: npm run test-browser
env:
2018-04-10 02:50:35 +01:00
global:
- PGPORT=5433
2018-04-10 02:44:37 +01:00
matrix:
- BROWSER=chrome:headless
- BROWSER=firefox:headless
2018-04-10 02:40:36 +01:00
branches:
only:
- master
- /^greenkeeper/.*$/
cache:
directories:
- $HOME/.npm