From 5282b49656165e2de697f626114f9e4aebba810a Mon Sep 17 00:00:00 2001 From: John-Philip Johansson Date: Fri, 7 Aug 2015 13:09:46 +0200 Subject: [PATCH] chore(travis): create logs folder before script run Now, how to solve this locally?.. --- .travis.yml | 3 ++- karma.conf.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3e44256..87e5f9a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ 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: @@ -11,7 +12,7 @@ script: - 'npm run coveralls' - 'npm run saucelabs' after_script: - - 'cat logs/karma.log' + - 'cat /logs/karma.log' env: global: - secure: L+EPka9O38GaLwg3xqr6p9rwvwy4MnQH0Fba8Qlt1M5QzLRz3e9JdVvxCQrQlETR5Guc5CN1dLOQFhVyYoCFNcOs3VkeD/mnegq16LwFE9vcmxySRqleUja3eCQ4HQJP99pSiCHYQVGvoZUf82nYNz6bh7JusbGapyyUF4Nl1TU= diff --git a/karma.conf.js b/karma.conf.js index ae6f145..b6bd929 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -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' }); } };