-
Notifications
You must be signed in to change notification settings - Fork 7
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 support for Travis CI #46
Comments
An example
However this will only test if the |
I know just running an application without testing it will cause it to fail. I wonder if it could be ran and then do like a wget |
Correct. We can use either |
I think you must create a test suite using flask tools for that, and then run the standard test suite. So for me #42 should be fixed first. Once the test suite is added, you can use tox to test the application in various python environment (i.e: several python versions (2.7, 3.3, 3.4, 3.5), diferent backends (if they are added), or a combination of both. Once tox is added you can use this .travis.yml file:
That will test (in paralel) tox py27,py33,py34 and py35 environments. |
I have added a very early stage |
We should add support for Travis CI so all our Pull Requests, branches, and pushes are automatically built. It will help us avoid bad merges and will show the
build: passing
icon in the main page.I have played with it a little bit but didn't manage to arrive to a correct
.travis.yml
file. There are two things I'd like to do with it:Dockerfile
and run itOf course, when we have tests, we can also run the tests there.
I managed to do the first one, however, the web server is running non-stop and therefore the build never stops. Any ideas on how to fix that?
About the second one, I will try some more, but running docker inside docker inside a VM can be complex and still has the same issues as before (web server never quits).
The text was updated successfully, but these errors were encountered: