From c3fad016aba198b1b2b0d9a2f2099068372848ca Mon Sep 17 00:00:00 2001 From: Bouncey Date: Sun, 7 Oct 2018 09:12:01 +0100 Subject: [PATCH] feat(tests): Bootstrap only on ci tests --- .travis.yml | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 98a5e4a80e..2511acaec4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,4 +24,4 @@ before_script: - git config --global user.name "CamperBot" script: - - npm run test + - npm run test-ci diff --git a/package.json b/package.json index 870f743e27..23388297d8 100644 --- a/package.json +++ b/package.json @@ -6,9 +6,10 @@ "develop": "npm-run-all -s ensure-env start-develop", "ensure-env": "node ./tools/scripts/ensure-env.js", "lint": "echo 'Warning: TODO - Define Linting.'", - "pretest": "npm-run-all -s lint bootstrap", + "pretest-ci": "npm-run-all -s lint bootstrap", "seed": "node seed/seedChallenges", "test": "npm-run-all -p test:*", + "test-ci": "npm test", "test:client": "cd ./client && npm test && cd ../", "test:curriculum": "echo 'Warning: TODO - Define Testing.'", "test:server": "echo 'Warning: TODO - Define Testing.'",