improve travis process

This commit is contained in:
Philipp Kunz 2015-11-09 04:07:01 +01:00
parent 68f7e7fc03
commit 5bd32f03c5
3 changed files with 6 additions and 8 deletions

View File

@ -1,11 +1,8 @@
language: node_js language: node_js
node_js:
- "4.2.2"
before_install: before_install:
- nvm install stable - npm install -g tsd
- node -v
- npm -v
- npm install -g gulp
- npm install gulp
- npm install gulp-typescript
deploy: deploy:
provider: npm provider: npm
email: npm@smart-coordination.com email: npm@smart-coordination.com

View File

@ -4,7 +4,7 @@
"description": "nodejs wrapper for CLI related tasks", "description": "nodejs wrapper for CLI related tasks",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"test": "(cd ts/compile && gulp) && (node test.js jazz jam --awesome --silent)", "test": "(cd ts/compile && node compile.js) && (node test.js jazz jam --awesome --silent)",
"mtest": "(cd ts/compile && gulp) && (node test.js jazz jam --awesome)", "mtest": "(cd ts/compile && gulp) && (node test.js jazz jam --awesome)",
"devTest": "(npm test) && (node test.js --test true)", "devTest": "(npm test) && (node test.js --test true)",
"reinstall": "(rm -r node_modules && npm install)", "reinstall": "(rm -r node_modules && npm install)",

View File

@ -23,3 +23,4 @@ gulp.task('compileTestTS', function() {
gulp.task('default',['compileTS','compileTestTS'], function() { gulp.task('default',['compileTS','compileTestTS'], function() {
console.log('Typescript compiled'); console.log('Typescript compiled');
}); });
gulp.start.apply(gulp, ['default']);