Merge lp://staging/~adiroiban/pocket-lint/travis-ci into lp://staging/pocket-lint
Status: | Needs review |
---|---|
Proposed branch: | lp://staging/~adiroiban/pocket-lint/travis-ci |
Merge into: | lp://staging/pocket-lint |
Diff against target: |
94 lines (+40/-11) (has conflicts) 3 files modified
.travis.yml (+12/-0) pocketlint/tests/test_json.py (+11/-5) setup.py (+17/-6) Text conflict in setup.py |
To merge this branch: | bzr merge lp://staging/~adiroiban/pocket-lint/travis-ci |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Curtis Hovey | code | Needs Fixing | |
Review via email: mp+192779@code.staging.launchpad.net |
Description of the change
Description
===========
This branch add support for running the tests on Travis-CI.org
Changes
=======
I have created a GitHub mirror using this script https:/
This was requires since Travis-CI only works with GitHub.
I have updated the test.py file to return 0 on success and 1 on failure.
I have updated setup.py to install latest versions of pyflakes and pep8.
I have added travis.yml file required for enabling Travis builds
For now I have enabled Python 2.7 and 3.3.
Right now tests are executed using test.py but maybe we can make nose-runner the "official" runner.
How to test
===========
Check status at https:/
If you want write-access to GitHub let me know your GitHub ID and I can add you to the repo.
Hope you find this useful.
For now the BZR repo is not automatically syncronized with GitHub.
Unfortunately I don't know if there is a notification API on Launchpad which can help with triggering the sync.
I can set up a cron job to keep the repos synced at 5 or 10 minutes delay.
For future branches, I plan to send them to Travis-ci before requesting a merge on LP, so this should improve the noise from review caused by python versions.
Thanks!
Unmerged revisions
- 514. By Adi Roiban <email address hidden>
-
Use setuptools by default.
- 513. By Adi Roiban <email address hidden>
-
Update setup to distutils.
- 512. By Adi Roiban <email address hidden>
-
Merge trunk.
- 511. By Adi Roiban <email address hidden>
-
Update code aftre review.
- 510. By Adi Roiban <email address hidden>
-
Merge master.
- 509. By Adi Roiban <email address hidden>
-
Initial travis support.
- 508. By Curtis Hovey
-
Merged Adi's update to use packaged/upstream pep8.
- 507. By Curtis Hovey
-
Added simple GoChecker to hush long line and tab complaints.
- 506. By Curtis Hovey
-
Use IS_PY3
- 505. By Curtis Hovey
-
Explicit is bettern an implicit.
I merged your branch, made a single line decoding fix for py3.3, the committed. The tests pass, though since I do not have closure installed. 2 were skipped. I assume the tests work for you and I will verify this when I get more network.