File: travis-before-install.sh

package info (click to toggle)
node-mocha 4.1.0%2Bds3-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,956 kB
  • sloc: makefile: 163; sh: 17
file content (9 lines) | stat: -rwxr-xr-x 229 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash

runSanityTest () {
  # avoids our mocha.opts (and thus devDependencies) in a roundabout way
  ./bin/mocha --opts /dev/null --reporter spec test/sanity/sanity.spec.js
}

npm install --production
runSanityTest