Skip to content

Commit

Permalink
Trying "pip instal ." as an alternative to the AWK fiddling
Browse files Browse the repository at this point in the history
  • Loading branch information
carlio committed Jan 4, 2015
1 parent 92994ec commit 6a00d49
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .travis.yml
Expand Up @@ -16,13 +16,7 @@ install:
script:
- "nosetests -s --with-coverage --cover-inclusive --cover-package=prospector tests/"
- "mv .coverage .coverage.x"
# install prospector in develop mode, so that we run coverage against the same
# modules that nose has already previously covered.
- "python setup.py develop"
# tricky: install all _OPTIONAL modules found in setup.py; we can't
# import setup.py as a python module because it has a system-side effect,
# instead we use awk to find all _OPTIONAL modules
- "pip install $(awk -F'[()]' '/_OPTIONAL/{getline; for(;;){print substr($2, 2, length($2)-3);getline;if(!($1)) break}}' < setup.py)"
- "pip install -e .[with_everything]"
- "coverage run --parallel-mode prospector/run.py || true"
- "coverage combine"
- "coverage report --show-missing"
Expand Down

0 comments on commit 6a00d49

Please sign in to comment.