Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable piwik for test and travis #202

Merged
merged 1 commit into from
Feb 20, 2018
Merged

Disable piwik for test and travis #202

merged 1 commit into from
Feb 20, 2018

Conversation

DavidKang
Copy link
Contributor

This cause timeout and we don't need it for test and travis.

@coveralls
Copy link

coveralls commented Feb 19, 2018

Coverage Status

Coverage remained the same at 85.125% when pulling 064f0a8 on DavidKang:piwik into 78fb81c on SUSE:master.

@thutterer thutterer self-requested a review February 20, 2018 10:59
Copy link
Contributor

@thutterer thutterer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my inline comment. What do you think?

@@ -27,7 +27,7 @@
= yield
= render :partial => "layouts/footer"

= render :partial => "layouts/scripts"
= render :partial => "layouts/scripts" unless Rails.env.test? || ENV['TRAVIS']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 👍 I would only change it to if Rails.env.production?

  • It reads easier.
  • It also stops Piwik to run on developer machine.

This cause timeout and we don't need it for test and travis.
@DavidKang
Copy link
Contributor Author

@thutterer, could you review it again please 😸

Copy link
Contributor

@thutterer thutterer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😼

@DavidKang DavidKang merged commit dc9bba8 into SUSE:master Feb 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants