Skip to content

Commit

Permalink
fix(travis): fix travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
tinesoft committed Jan 10, 2017
1 parent 09d6b4b commit 72bd139
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ addons:
language: node_js
node_js:
- "6"
- "6.3"
- "5.0"

before_script:
- export DISPLAY=:99.0
Expand Down
2 changes: 1 addition & 1 deletion config/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = function (config) {

customLaunchers: {
// chrome setup for travis CI
Chrome_Travis_CI: {
Chrome_travis_ci: {
base: 'Chrome',
flags: ['--no-sandbox']
}
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function startKarmaServer(isTddMode, done) {
var config = { configFile: `${__dirname}/karma.conf.js`, singleRun: !isTddMode, autoWatch: isTddMode };

if (travis) {
config['browsers'] = ['Chrome_Travis_CI']; // 'Chrome_Travis_CI' is defined in "customLaunchers" section of config/karma.conf.js
config['browsers'] = ['Chrome_travis_ci']; // 'Chrome_travis_ci' is defined in "customLaunchers" section of config/karma.conf.js
}

new karmaServer(config, done).start();
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
"main": "./dist",
"typings": "./dist",
"scripts": {
"start": "gulp",
"prepublish": "gulp"
"start": "gulp"
},
"dependencies": {
"@angular/common": "2.0.0",
Expand Down

0 comments on commit 72bd139

Please sign in to comment.