-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Added .travis.yml #378
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
Added .travis.yml #378
Conversation
|
||
install: python setup.py install | ||
|
||
script: bash travis.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I might be missing something, but why not just use:
nosetests tests.py lib-typing/3.2/test_typing.py mypy/test
Or something like make test
(where the make files test rule is the above)
@kirbyfan64 Just a few quick notes: How do you report errors to the CI systen? What if a single step fails, would you still run the others? The script should live in a subdirectory, I think. @mvcisback The tests use a custom test framework (Iong story...) and nose won't work. However, migrating to unittest + nose/pytest would make sense. See #381 and #380. |
@JukkaL nosetests should run any function that has the word test in it....the integration with unittest and such is optional |
@JukkaL Travis maintains a log of all the output of the commands. If a single step fails, the others do run, largely so you can still see the other tests, too. If you want me to use a Makefile though, I'll do so. |
How does Travis know if any of the steps in the shell script fails? Does it track the exit statuses of the commands somehow? Or does it look at the stdout/stderr output? |
@JukkaL I just fixed that. |
@mvcisback The mypy unit test framework uses some conventions that are incompatible with nose. |
Take 1! (I probably did at least one thing wrong, but I guess I'll find out...)