Skip to content

Commit

Permalink
adding secure env vars to use on my repo only
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismatheson committed Mar 18, 2015
1 parent b322477 commit a574fcb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 21 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
language: node_js
node_js:
- 0.1
- 0.10
sudo: false
deploy:
provider: releases
api_key:
Expand All @@ -10,7 +11,6 @@ deploy:
on:
repo: logentries/le_js
tags: true
- 0.10
env:
- secure: "RHRZZTijhsDbuoJaNDPnLs3ipE4LjackSNe5wBiycD4YL5cAuE+smX1Wdee3VYf25q5SaBI42/V+nb4vtBiJLU5vTnriij0vsckvlIyj5vY4Rf/uLSJ2VfIw4/Uo1K45mqnZLgTqKrKVVTHU0Irl20d34pQeb51jGDx6DCwuYmY="
- secure: "HPKeHnTPNAItQjjNlgIhrKwnLaVpz5kcSXISu72s1lu8+VoZL4cYhjqB5zMPqAMMroCYsXF75570wOCzFcJAckS0BpSNKaYtazXvyZDQymGmAqI7RxsNEx++b/fW3RRBbw7uA8LT0hoA0k1BV99TYW0xXJ7/v3PmcugeC0jCGuo="
global:
- secure: iuucx9DZTvVM2RXyGQ1eR+qPpTx9bZuj4NpCvY1CC1e9oUyhWgEAC9kfy04a96fqFvJQ0tCNPzhzSQRJtEAQp0vmoA+1ss/nrh98LhjhkXHZ+4gbaqoQAL8jTai95XmedR6UKckZA1SH3K9yeergeW9+Sq6kKvbQHsYBYSmmq0g=
11 changes: 0 additions & 11 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,3 @@ gulp.task('build', function() {
.pipe(rename('le.min.js'))
.pipe(gulp.dest('product'));
});


gulp.task('test', function() {
return gulp.src(testFiles)
.pipe(karma({
configFile: 'karma.conf.js',
action: 'start',
singleRun: true,
browsers: ['PhantomJS']
}));
});
10 changes: 5 additions & 5 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ module.exports = function(config) {

// list of files to exclude
exclude: [

],


// preprocess matching files before serving them to the browser
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
preprocessors: {

},


Expand Down Expand Up @@ -79,10 +79,10 @@ module.exports = function(config) {
base: 'SauceLabs',
browserName: 'firefox'
},
sl_ie_7: {
sl_ie_9: {
base: 'SauceLabs',
browserName: 'internet explorer',
version: '7'
version: '9'
}
};

Expand All @@ -95,7 +95,7 @@ module.exports = function(config) {
},
recordScreenshots: false,
customLaunchers: customLaunchers,
browsers: ['sl_firefox', 'sl_ie_7', 'PhantomJS'],
browsers: ['sl_firefox', 'sl_ie_9', 'PhantomJS'],
reporters: ['saucelabs'],
colors: false,
singleRun: true
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"test": "test"
},
"scripts": {
"test": "gulp test; jshint src/ test/leSpec.js",
"test": "karma start; jshint src/ test/leSpec.js",
"build": "gulp build"
},
"repository": {
Expand All @@ -29,6 +29,7 @@
"gulp-replace": "^0.2.0",
"jshint": "^2.5.10",
"karma": "^0.12.16",
"karma-cli": "0.0.4",
"karma-jasmine": "^0.1.5",
"karma-phantomjs-launcher": "^0.1.4",
"karma-sauce-launcher": "^0.2.10",
Expand Down

0 comments on commit a574fcb

Please sign in to comment.