Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/mocha-3.1.2/scripts/travis-before-install.sh')
-rw-r--r--tests/lib/mocha-3.1.2/scripts/travis-before-install.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/lib/mocha-3.1.2/scripts/travis-before-install.sh b/tests/lib/mocha-3.1.2/scripts/travis-before-install.sh
new file mode 100644
index 0000000000..9913070ae9
--- /dev/null
+++ b/tests/lib/mocha-3.1.2/scripts/travis-before-install.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+npm install --production
+# this avoids our mocha.opts (and thus devDependencies) in a roundabout way
+./bin/mocha --opts /dev/null --reporter spec test/sanity/sanity.spec.js