Skip to content

Investigate adding Continuous Integration #43

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

Closed
ilinkuo opened this issue Mar 2, 2013 · 5 comments
Closed

Investigate adding Continuous Integration #43

ilinkuo opened this issue Mar 2, 2013 · 5 comments
Assignees
Milestone

Comments

@ilinkuo
Copy link

ilinkuo commented Mar 2, 2013

https://travis-ci.org/ and https://circleci.com/ are possibilities.

I haven't used either of these, though.

@Ali-Khatami
Copy link
Contributor

I have a branch that I am working on for this, but I need to break it out. I will submit a pull request for 1.2-wip soon. I'll update this issue when I have a stable version of my branch ready.

As a sneak peak it uses phantom-js and runs our jasmine unit tests.

@Ali-Khatami
Copy link
Contributor

Submitted pull request for this enhancement. I went with Travis CI, which nicely integrates with GitHub. The script loads our unit test pages in Phantom-js and runs all the tests to verify whether or not the build passed. view the pull request here: #58

@markhealey
Copy link
Member

Thanks Ali, nice work.

markhealey pushed a commit that referenced this issue Mar 27, 2013
@ghost ghost assigned markhealey Mar 27, 2013
@Ali-Khatami
Copy link
Contributor

Mark,

Can you create a Travis CI account for OpenF2/F2 and add the status image to the root readme then close this issue? Below are the quick steps to get that done, hopefully I didn't miss anything

Go To https://travis-ci.org/
Click "Sign in with github" in top right link. (will probably need to clear cookies because you'll log in as your personal account)
Hover over user profile in the top right
Click "accounts" link
The repositories will populate and you'll need to turn ON /F2 by clicking the small slider.

It will automatically pick up all branches that have .travis.yml in the root directory.

You need to actually push the master branch to kick off the first build.

After you have pushed and gone back to Travis CI to verify the build was successful you can grab the "build passing" image pretty easily...

Go back to the travis-ci home page
Click the "My Repositories" tab in the left pane to bring up your repos
Click the F2 repo (should default to that repo)
Click the little button/dropdown with the gear
Select "Status Images"
Wait for the repos to load in the drop down and you can select the type of image you want.

@brianbaker
Copy link
Member

This went live today.

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