update scome scripts

This commit is contained in:
Philipp Kunz 2016-05-30 02:35:44 +02:00
parent 911392e00e
commit 3f126d849f
2 changed files with 4 additions and 4 deletions

View File

@ -16,16 +16,14 @@ testLTS:
testSTABLE: testSTABLE:
stage: test stage: test
script: script:
- npmci install stable - npmci test stable
- npm install
- npm test
tags: tags:
- docker - docker
release: release:
stage: release stage: release
script: script:
- npm -v - npmci publish
only: only:
- tags - tags
tags: tags:

View File

@ -5,6 +5,8 @@ export let test = (versionArg) => {
let done = plugins.q.defer(); let done = plugins.q.defer();
install(versionArg) install(versionArg)
.then(function(){ .then(function(){
plugins.beautylog.info("now installing dependencies:");
plugins.shelljs.exec("npm install");
plugins.beautylog.info("now starting tests:"); plugins.beautylog.info("now starting tests:");
plugins.shelljs.exec("npm test"); plugins.shelljs.exec("npm test");
plugins.beautylog.success("test finished"); plugins.beautylog.success("test finished");