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

Set up Travis CI #338

Closed
miketaylr opened this issue Nov 6, 2014 · 10 comments
Closed

Set up Travis CI #338

miketaylr opened this issue Nov 6, 2014 · 10 comments

Comments

@miketaylr
Copy link
Member

Related to #321.

@magsout
Copy link
Member

magsout commented Nov 6, 2014

👍

@karlcow
Copy link
Member

karlcow commented Nov 6, 2014

Does it create a dependency on the dev contributor environment? Asking because if yes we need to adjust the documentation.

@miketaylr
Copy link
Member Author

I don't actually know, never done it. :)

I think it shouldn't require anything for local dev setup (ping @vladikoff to be sure).

@vladikoff
Copy link
Member

Does it create a dependency on the dev contributor environment?

Nope, you just add a .travis.yml file and enable it on Travis CI:
image
It will run on new pull requests and pushes via GitHub.

Here is an example file: https://github.com/mozilla/fxa-oauth-console/blob/master/.travis.yml

@miketaylr
Copy link
Member Author

Sweet. Thanks Vlad.

@magsout
Copy link
Member

magsout commented Nov 7, 2014

@vladikoff we can use selenium test with travis ?

@vladikoff
Copy link
Member

@magsout yeah, either with xvfb or sauce labs, xvfb example: https://github.com/mozilla/fxa-content-server/blob/master/.travis.yml#L14-L17

@miketaylr
Copy link
Member Author

OK, I got this running on my fork after wrestling with errors for half the day: https://travis-ci.org/miketaylr/webcompat.com/builds/40942426

Will commit the patches tomorrow. Just requires a few simple changes to config.py to allow it to read certain values from environment variables.

@vladikoff
Copy link
Member

@miketaylr excellent! 🌟

miketaylr pushed a commit that referenced this issue Nov 14, 2014
miketaylr pushed a commit that referenced this issue Nov 14, 2014
miketaylr pushed a commit that referenced this issue Nov 14, 2014
@miketaylr
Copy link
Member Author

DONE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants