From 2f8dda8a70610e004a4492ad4f00fe6b52f2fc24 Mon Sep 17 00:00:00 2001 From: Ramon Gebben Date: Sun, 18 Jan 2015 11:26:11 +0100 Subject: [PATCH] Added .travis.yml and gulp task for it --- .travis.yml | 11 +++++++++++ Gulpfile.js | 6 ++++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..9412734 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +language: node_js + +node_js: + - 0.10 + - 0.11 + +before_install: + - npm install -g gulp + +script: + - gulp ci \ No newline at end of file diff --git a/Gulpfile.js b/Gulpfile.js index f5be8ce..69df5d6 100644 --- a/Gulpfile.js +++ b/Gulpfile.js @@ -1,7 +1,9 @@ var gulp=require("gulp"), uglify = require("gulp-uglify"); - gulp.task("compress", function(){ gulp.src("Cquence.js").pipe( uglify() ).pipe( gulp.dest("minified") ) -}); \ No newline at end of file +}); + + +gulp.task('ci', ['compress']); \ No newline at end of file