modifications to the jenkins script to work better with bash, fixed the commit number of the nock dep

This commit is contained in:
Spencer Alger
2013-12-12 15:59:10 -07:00
parent 345ac776ef
commit c5440792d3
6 changed files with 16295 additions and 15 deletions

View File

@ -1,19 +1,17 @@
#!/bin/sh
echo "generate the latest version of the yaml-tests"
#!/bin/bash
# generate the latest version of the yaml-tests
node scripts/generate/ --no-api 2>&1 > /dev/null
echo "\n--- unit ---"
# unit tests
./node_modules/.bin/mocha test/unit/test_*.js \
--require should \
--reporter ../../../test/utils/jenkins-reporter.js \
2> test-output-node-unit.xml
2> test/junit-node-unit.xml
echo "\n--- integration ---"
# run the integration tests
./node_modules/.bin/mocha test/integration/yaml_suite/index.js \
--require should \
--host localhost \
--port $es_port \
--reporter ../../../test/utils/jenkins-reporter.js \
2> test-output-node-integration.xml
2> test/junit-node-integration.xml