Skip to content

Commit

Permalink
chore(travis): create logs folder before script run
Browse files Browse the repository at this point in the history
Now, how to solve this locally?..
  • Loading branch information
seriema committed Aug 7, 2015
1 parent ed3c19a commit 5282b49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ node_js:
before_install:
- 'npm install -g bower grunt-cli'
before_script:
- mkdir -p '/logs'
- 'export DISPLAY=:99.0'
- 'sh -e /etc/init.d/xvfb start'
script:
- 'npm test'
- 'npm run coveralls'
- 'npm run saucelabs'
after_script:
- 'cat logs/karma.log'
- 'cat /logs/karma.log'
env:
global:
- secure: L+EPka9O38GaLwg3xqr6p9rwvwy4MnQH0Fba8Qlt1M5QzLRz3e9JdVvxCQrQlETR5Guc5CN1dLOQFhVyYoCFNcOs3VkeD/mnegq16LwFE9vcmxySRqleUja3eCQ4HQJP99pSiCHYQVGvoZUf82nYNz6bh7JusbGapyyUF4Nl1TU=
Expand Down
2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ module.exports = function(config) {
// Debug logging into a file, that we print out at the end of the build.
config.loggers.push({
type: 'file',
filename: 'logs/karma.log'
filename: '/logs/karma.log'
});
}
};

0 comments on commit 5282b49

Please sign in to comment.