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

Add tutorial on how to set this up on travis #4

Open
mrchrisadams opened this issue Jul 19, 2019 · 2 comments
Open

Add tutorial on how to set this up on travis #4

mrchrisadams opened this issue Jul 19, 2019 · 2 comments

Comments

@mrchrisadams
Copy link
Member

mrchrisadams commented Jul 19, 2019

This nice man has made a youtube video on how to use Lighthouse with Travis.

https://www.youtube.com/watch?v=82SVcPFIVQI

And the package.json file refers to lighthouse too:

https://github.com/kalaspuffar/simply-communication/blob/master/package.json

Which refers to this, a handy docker container for lighthouse.

https://github.com/GoogleChromeLabs/lighthousebot

This makes me think you could run this on other hosted CI platforms too.

We should investigate how, and make some docs for this.

C

@mrchrisadams
Copy link
Member Author

Okay. I have this working on travis now.

It was fairly straightforward, so if I can find a project on github to add it to, I think there's a post to be written.

@marians
Copy link

marians commented Jul 26, 2019

To plug this here, at Giant Swarm we built https://github.com/giantswarm/lighthouse-keeper and https://github.com/giantswarm/lighthouse for this purpose. The idea is to compare the current branch against master.

We stopped using it for now, as we found that the lighthouse test results were too flaky/inconsistent. Even if we changed nothing in a web site/app we would get changes in scoring. And then it usually checks one URL, but not specifically the URL you might be affecting most with a change.

So while it was a nie idea, we didn't make it work yet in practice. But we are also not a big web shop and didn't a lot of effort into it.

I still use it to run checks on the command line.

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

No branches or pull requests

2 participants