From 4fc2a6c02eee375aec03b7dcba65b845ae0e01f5 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Fri, 10 Feb 2017 15:06:23 +0100 Subject: [PATCH] Enable HTML report in Travis build --- .travis.yml | 2 +- lib/tasks/tests/visual/run.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index bd9abe888..7c86bc83c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,7 +35,7 @@ matrix: artifacts: debug: true paths: - $HOME/gemini-report/* + ./gemini-report/* apt: sources: - ubuntu-toolchain-r-test diff --git a/lib/tasks/tests/visual/run.js b/lib/tasks/tests/visual/run.js index faff5385b..c6d1a6e6b 100644 --- a/lib/tasks/tests/visual/run.js +++ b/lib/tasks/tests/visual/run.js @@ -93,7 +93,7 @@ export default (gulp, config, args) => { /* Start Gemini and return runner upon finish */ return new Gemini(gemini).test(`${config.tests.visual}/suites`, { - reporters: ["flat"].concat(process.env.CI ? [] : ["html"]), + reporters: ["flat", "html"], browsers: args.browsers ? [].concat(args.browsers) : null })