Skip to content

Commit 0a612f9

Browse files
authored
Automatically deploy to NPM (select2#5527)
* Added deployments to NPM on tagged releases Previously this was being done manually after each release, which resulted in a few releases not showing up on NPM for a significant amount of time. Now the builds should be automatically pushed, which should hopefully improve a lot of the issues we were seeing. * Drop IRC notifications We no longer use this IRC channel. * Clean up .travis.yml * Remove grunt ci This is no longer needed now that we don't do anything special for CI builds. This also allows us to minify during CI builds, which will be useful for the tagged builds which depend on these minified files being up to date (so they can get released as well).
1 parent 04fce55 commit 0a612f9

2 files changed

Lines changed: 11 additions & 13 deletions

File tree

.travis.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
language: node_js
22

3-
sudo: false
4-
53
node_js:
6-
- 0.10
4+
- "0.10"
75

86
env:
97
global:
108
- secure: XMNK8GVxkwKa6oLl7nJwgg/wmY1YDk5rrMd+UXz26EDCsMDbiy1P7GhN2fEiBSLaQ7YfEuvaDcmzQxTrT0YTHp1PDzb2o9J4tIDdEkqPcv1y8xMaYDfmsN0rBPdBwZEg9H5zUgi7OdUbrGswSYxsKCE3x8EOqK89104HyOo1LN4=
119
- secure: BU5BPRx6H4O3WJ509YPixjUxg+hDF3z2BVJX6NiGmKWweqvCEYFfiiHLwDEgp/ynRcF9vGVi1V4Ly1jq7f8NIajbDZ5q443XchZFYFg78K/EwD5mK6LYt16zb7+Jn0KbzwHeGRGzc9AvcEYlW6i634cSCm4n3BnqtF5PpogSzdw=
1210

1311
script:
14-
- grunt ci
12+
- grunt
1513

16-
notifications:
17-
email: false
18-
irc:
19-
channels:
20-
- "chat.freenode.net#select2"
21-
on_success: change
22-
on_failure: always
14+
deploy:
15+
- provider: npm
16+
email:
17+
secure: T/xRKPHPI1GwomNYb3nvMntS805vdzewDKNwB+lDS6WOfXQx9td5CIbkhpfAW3zVjdbsXFVSOzufesY+RtF4gq8yvW5FhV7py6gwnEyW8LybgYssUd08W/fMoiCjORRXxwqnoHEh956z3Z9De4Q9ow47m8iniAsKRR1I1DHaKs0=
18+
api_key:
19+
secure: BCdGeRjm8i9V+gbaVNIYk7+zLyeLOQDm6eCH+NYVX137gkNBoYqL/U7GGfHoWxEvrVgN8tcCM6RrS5qU+Wu/Wy/esz1PeSoFxKEIJx+p6BCzACFl1tJWqdm/JlmnuCiZdHs6TTtfKQwaJAK4H0Kfp5qJZS9QA/RxBpkfBQZW9VY=
20+
on:
21+
tags: true
22+
skip_cleanup: true

Gruntfile.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,4 @@ module.exports = function (grunt) {
255255
]);
256256
grunt.registerTask('minify', ['uglify', 'sass:dist']);
257257
grunt.registerTask('test', ['connect:tests', 'qunit', 'jshint']);
258-
259-
grunt.registerTask('ci', ['compile', 'test']);
260258
};

0 commit comments

Comments
 (0)