ltijs
Version:
Turn your application into a fully integratable LTI 1.3 tool or platform.
25 lines (24 loc) • 571 B
YAML
language: node_js
node_js:
- "10"
services: mongodb
cache:
directories:
- node_modules
before_script:
- sleep 15
- mongo mydb_test --eval 'db.createUser({user:"travis",pwd:"test",roles:["readWrite"]});'
install:
- npm install -g codecov
- npm install -g istanbul@^1.0.0-alpha.2
jobs:
include:
- stage: "Coverage"
script:
- npm install
- istanbul cover ./node_modules/mocha/bin/_mocha --reporter test -- -R spec
- codecov
if: branch = master
- stage: "Testing"
script: npm test
if: branch = master