From 5e8fdeb19e7f182f6645dffd9a71a22dd242fc21 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Sun, 24 Apr 2016 13:45:29 +0200 Subject: [PATCH] no email notifications, specific artifacts paths --- .travis.yml | 5 ++++- gulpfile.js | 12 ------------ package.json | 1 - 3 files changed, 4 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index bdecbe0d..37cbbd4f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,11 +13,13 @@ cache: - _site/media/gen addons: + artifacts: + paths: + - $HOME/build/kremalicious/kremalicious3/_site/media/gen apt: packages: - libgsl0ldbl - libgsl0-dev - artifacts: true before_install: - nvm install 5 @@ -34,4 +36,5 @@ deploy: notifications: + email: false slack: kremalicious:LXLUCjkY5yaZaC9vHl9vIORr diff --git a/gulpfile.js b/gulpfile.js index 790aa7da..11995f1f 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -180,18 +180,6 @@ gulp.task('css', function() { .pipe(gulp.dest(DIST + '/assets/css/')) }); -gulp.task('uncss', function () { - if (isProduction) { - return gulp.src(DIST + '/assets/css/kremalicious3.min.css') - .pipe($.uncss({ - html: [DIST + '/**/*.html'], - ignore: [/\.has\S+\W+\S+/, /is-ready/, /animation-slideDown/, /animation-bounceOutUp/, /transition/, /gpuacceleration/, /hide/, /show/, /search-popover/, /search-results/, /search-link/, /tooltip/] - })) - .pipe($.cssmin()) - .pipe(gulp.dest(DIST + '/assets/css')); - } -}); - // // Scripts diff --git a/package.json b/package.json index 6d9e3424..4aa80614 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,6 @@ "gulp-stylus": ">=2.0.3", "gulp-svg-sprite": ">=1.2.2", "gulp-uglify": ">=1.2.0", - "gulp-uncss": "^1.0.4", "gulp-util": ">=3.0.6", "merge-stream": ">=0.1.7", "run-sequence": ">=1.1.0",