This repository has been archived by the owner on May 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from Yelp/instrument-install.2
Instrument install.2
- Loading branch information
Showing
11 changed files
with
76 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,36 @@ | ||
language: python | ||
env: # These should match the tox env list | ||
# ordered by "most likely to fail in a unique way" first | ||
- TOXENV=py34-lint | ||
# - TOXENV=pypy3-test | ||
- TOXENV=py34-test | ||
# - TOXENV=pypy-test | ||
- TOXENV=py26-test | ||
- TOXENV=py27-test | ||
- TOXENV=py27-lint | ||
python: | ||
- "2.6" | ||
- "2.7" | ||
- "3.4" | ||
# - pypy | ||
# - pypy3 | ||
env: | ||
- TOXENV=lint | ||
- TOXENV=test | ||
matrix: | ||
# notify a failed build as soon as anything fails | ||
fast_finish: true | ||
exclude: | ||
# pylint has dropped 2.6 support -.- | ||
- python: "2.6" | ||
env: TOXENV=lint | ||
install: pip install -r requirements.d/travis.txt | ||
script: tox | ||
cache: | ||
# This doesn't seem to do anything :( | ||
directories: | ||
- $HOME/.pip | ||
- $HOME/.pre-commit | ||
after_success: | ||
- find -name '.coverage*' | xargs mv -t . | ||
- coverage combine | ||
- coveralls | ||
after_failure: | ||
# attempt to show any pip.log on failure | ||
- find -name pip.log | xargs -r tail -n99999 | ||
|
||
|
||
# public caches only supported under sudo:false currently | ||
# closest thing to documentation: | ||
# http://blog.travis-ci.com/2014-10-07-free-builds-for-students-github-student-developer-pack | ||
sudo: false | ||
cache: | ||
directories: | ||
- $HOME/.pip | ||
- $HOME/.pre-commit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,7 @@ | ||
# packages needed for linting, but not for prod | ||
flake8 | ||
pre-commit | ||
|
||
# pylint # PR merged: https://bitbucket.org/logilab/pylint/pull-request/186/fixed_up_import_test-and-tests/diff | ||
# pending fresh release: https://bitbucket.org/logilab/pylint/issue/363/please-cut-a-release-131 | ||
# note: pylint is set up such that -e simply doesn't work. Their __init__ is in their top directory. | ||
hg+https://bitbucket.org/logilab/pylint@58c66aa083777059a2e6b46f6a0545a2f4977097#egg=pylint | ||
|
||
# astroid 1.3.0 is broken. | ||
# see: https://bitbucket.org/logilab/astroid/issue/55/astroid-130-explodes-on-import-pytest | ||
astroid!=1.3.0 | ||
pre-commit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters