From c500fb4340363b065d61289b506ad3e9bfab1ba3 Mon Sep 17 00:00:00 2001 From: Tsvetan Tsvetkov Date: Mon, 12 Sep 2016 15:27:17 +0300 Subject: [PATCH] Add deployment --- .travis.yml | 12 ++++++++++++ grunt/aliases.js | 2 -- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8cf1d41..8100622 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,3 +5,15 @@ before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - npm run bower install + +before_deploy: + - npm run grunt +deploy: + provider: releases + api_key: "48c38ce98fc948073b3eb6f9646a16eb66576736" + file: + - dist/Notification.js + - dist/Notification.min.js + skip_cleanup: true + on: + tags: true diff --git a/grunt/aliases.js b/grunt/aliases.js index 1471d80..054a431 100644 --- a/grunt/aliases.js +++ b/grunt/aliases.js @@ -6,7 +6,6 @@ module.exports = { // Default Grunt task that builds the Deep blue theme ready for production 'default': [ 'clean', - 'jasmine', 'uglify:default', 'uglify:dev' ], @@ -14,7 +13,6 @@ module.exports = { // Development Grunt build task 'dev': [ 'clean', - 'jasmine', 'watch' ] };