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 travis.yml, drone.io build helper #8

Merged
merged 13 commits into from
Apr 6, 2014

Conversation

luzfcb
Copy link

@luzfcb luzfcb commented Apr 4, 2014

  • add travis.yml, drone.io build helper ( droneio_build.sh )
  • fix issue Fix erros on test app #6
  • added travis.org and drone.io badges (already configured for the user "mpasternak" in travis.org and drone.io)

On travis, the tests are passing with python 2.6 and 2.7 using Django 1.6.2
I left as an example configuration using Django 1.7 (it is still necessary to implement the apps.py file. see more: https://docs.djangoproject.com/en/dev/ref/applications/ ) and testing using python 3

see tests on travis: https://travis-ci.org/luzfcb/django-monitio
and on drone.io: https://drone.io/github.com/luzfcb/django-monitio

@mpasternak

@luzfcb luzfcb changed the title fix i add travis.yml, drone.io sample config Apr 4, 2014
@luzfcb luzfcb changed the title add travis.yml, drone.io sample config add travis.yml, drone.io build helper Apr 4, 2014
@mpasternak
Copy link
Owner

Great work, thanks a million!

Will have a look into it and merge this for sure.

Thank you! You've made my day.

@luzfcb
Copy link
Author

luzfcb commented Apr 5, 2014

you know the "Splinter Test Framework"[1][2][3], is a great wrapper for selenium, made by brazilian developers Cobrateam. I do not know if it has the same focus as django-selenium-helpers, or can be used together.

[1] http://splinter.cobrateam.info/
[2] https://github.com/cobrateam/splinter
[3] https://www.youtube.com/watch?v=ihjpKPRDlVw

mpasternak added a commit that referenced this pull request Apr 6, 2014
add travis.yml, drone.io build helper
@mpasternak mpasternak merged commit 1084905 into mpasternak:master Apr 6, 2014
@mpasternak
Copy link
Owner

Thanks @luzfcb . Never heard about both drone.io and splinter. Perhaps I will use splinter for new projects from now and/or convert monitio to use it by some time later. Would you, by any chances, would like to become an official maintainer of travis/drone builds?

@luzfcb
Copy link
Author

luzfcb commented Apr 6, 2014

I do not know how I could keep the builds, considering that the Webhooks are linked to the github account. Now we need you to login using your github account on and travis.org and drone.io and enable django-monitio.

drone.io have cheaper cost than travis, however, does not have a native way to configure multiple versions of python and libraries, ie the owner of the repository you have to create the script to test on multiple versions. I know of to create the script to run multiple versions of python and django using tox [1].

Not yet know how to do this correctly using the tox, I intend to learn.

On drone.io, go to "New Project" -> select "GitHub" -> click in "Select" in "django-monitio" -> select "Python" -> on the next screen, clear all text and put droneio_build.sh, click in "Save", after "Save" again

ps:
Sorry for ugly English. This was done with google translator with some corrections 😅 ... I speak Brazilian Portuguese and I am still learning English.

[1] http://tox.readthedocs.org/en/latest/

@mpasternak
Copy link
Owner

Thanks man,

just did that,

you brought a lot of value and new knowledge into my life. THANK YOU :-)

2014-04-06 16:45 GMT+02:00 Fábio C. Barrionuevo da Luz <
[email protected]>:

I do not know how I could keep the builds, considering that the Webhooks
are linked to the github account. Now we need you to login using your
github account on and travis.org and drone.io and enable django-monitio.

drone.io have cheaper cost than travis, however, does not have a native
way to configure multiple versions of python and libraries, ie the owner of
the repository you have to create the script to test on multiple versions.
I know of to create the script to run multiple versions of python and
django using tox [1].

Not yet know how to do this correctly using the tox, I intend to learn.

On drone.io, go to "New Project" -> select "GitHub" -> click in "Select"
in "django-monitio" -> select "Python" -> on the next screen, clear all
text and put droneio_build.sh, click in "Save", after "Save" again

ps:
Sorry for ugly English. This was done with google translator with some
corrections [image: 😅] ... I speak Brazilian Portuguese and I
am still learning English.

[1] http://tox.readthedocs.org/en/latest/


Reply to this email directly or view it on GitHubhttps://github.com//pull/8#issuecomment-39670152
.

Pozdrawiam,
Michał Pasternak
☏ +48 793 66 87 33

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.

2 participants