Skip to content

Commit

Permalink
Integrate AlloyEditor with Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
ipeychev committed Jan 26, 2015
1 parent 6c6fcec commit c753402
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
language: node_js
node_js:
- "0.11"
- "0.10"

env:
global:
- secure: HZWsDht46lHKOVo6qX45TZd64thlnjlet6xJ7/4ZKrO4sTLSKxjU2BCaFA51CrLvW0Syy1VFXIleEGN5IBTUKinEayhJXPl9OL2Vc1o/UTPLXXoqtqpO5HeoR1MfxQAr7VV37KhPWEao0NESYBpf3BR5bBQnPAltwellc7SQVtY=
- secure: FCb1Vr9+uTsb62dtWA+/gFd3dOWhdoz94+0Y4QqipRAwSU3UydTKdiGZmJ8dzPjMcZmRRuOVcTsFPwQgQfkNOg+lWdwU3kHbhGBCOlD3hIQ7cui72n4KT57AcvsS1d1gCDmtHarbNE/yuYpKB/LeBMaE3NCxswKgTThOrFGKDWs=
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"yargs": "^1.3.3"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "gulp test"
},
"repository": {
"type": "git",
Expand Down
7 changes: 1 addition & 6 deletions src/ui/yui/karma.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,7 @@ var defaultConfig = {

var customConfig = defaultConfig;

if (process.env.SAUCE_TESTS) {
if (!process.env.SAUCE_USERNAME || !process.env.SAUCE_ACCESS_KEY) {
console.log('Make sure the SAUCE_USERNAME and SAUCE_ACCESS_KEY environment variables are set.');
process.exit(1);
}

if (process.env.SAUCE_USERNAME && process.env.SAUCE_ACCESS_KEY) {
var customLaunchers = {
sl_chrome: {
base: 'SauceLabs',
Expand Down

0 comments on commit c753402

Please sign in to comment.