Merge pull request #23 from christroutner/unstable

Updating travis file to work with greenkeeper
This commit is contained in:
Chris Troutner
2019-04-27 12:36:07 -07:00
committed by GitHub
+7 -2
View File
@@ -1,11 +1,11 @@
# This is a node.js v8+ JavaScript project
language: node_js
node_js:
- "8"
- "10"
# Build on Ubuntu Trusty (14.04)
# https://docs.travis-ci.com/user/reference/trusty/#javascript-and-nodejs-images
dist: trusty
dist: xenial
sudo: required
# Use Docker
@@ -16,6 +16,11 @@ before_install:
- ./install-mongo
#- npm install -g mocha
# https://github.com/greenkeeperio/greenkeeper-lockfile/issues/156
install: case $TRAVIS_BRANCH in greenkeeper*) npm i;; *) npm ci;; esac;
script: "npm run test"
# Send coverage data to Coveralls
after_success:
- npm run coverage