first stab at .travis.yml file

This commit is contained in:
Nolan Lawson 2018-04-09 18:40:36 -07:00
parent 494f906701
commit 206679b8e3
1 changed files with 18 additions and 0 deletions

18
.travis.yml Normal file
View File

@ -0,0 +1,18 @@
language: node_js
node_js:
- "8"
services:
- postgresql
- redis-server
before_install:
- rvm install 2.5.0
before_script:
- npm run lint
script: travis_retry npm test
branches:
only:
- master
- /^greenkeeper/.*$/
cache:
directories:
- $HOME/.npm