Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dhermes
Copy link
Contributor

@dhermes dhermes commented Sep 30, 2016

  • Upgrading the get_tox_env() helper to support the TOXENV env. var. and the current system Python
  • Ditching tox on Travis for py27, py34 and isolated-cover, this is because those tox environments just farm out the work to tox environments for each sub-package, so it isn't worth waiting for the extra tox env. setup time
  • Changing back from --tox-env-dir to --tox-env flag in run_unit_tests.py script (it could always go back but isn't needed. Also could use the VIRTUAL_ENV env. var. set by the activate script from the virtualenv tool)
  • Adding py27,py34,py35 back to the tox env. list
  • Letting tox -e py27, etc. allow the current Python to determine their tox env. value
  • Allowing a subset of packages to be passed to run_unit_tests from the command line
  • Some misc. CONTRIBUTING doc changes (see 2nd commit)

NOTE: Has #2473 as diffbase.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 30, 2016
.travis.yml Outdated
- (cd speech && tox -e py34)
- python2.7 scripts/run_unit_tests.py
- python3.4 scripts/run_unit_tests.py
- python3.5 scripts/run_unit_tests.py

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@dhermes dhermes force-pushed the collapse-travis-config-2 branch 2 times, most recently from ffa44ab to 3ddcbf6 Compare October 1, 2016 00:56
- Upgrading the `get_tox_env()` helper to support the `TOXENV`
  env. var. and the current system Python
- Ditching tox on Travis for py27, py34 and isolated-cover, this
  is because those tox environments just farm out the work to
  tox environments for each subpackage, so it isn't worth
  waiting for the extra tox env. setup time
- Changing back from --tox-env-dir to --tox-env flag in
  run_unit_tests.py script
- Adding py27,py34,py35 back to the `tox` env. list
- Letting tox -e py27, etc. allow the current Python to determine
  their tox env. value
Also

- Adding instruction to `CONTRIBUTING` about how to run
  a subset of tests for packages of your choosing
- Moving the "Adding Features" section to the top of the
  `CONTRIBUTING` doc
- Making tiny edits to `CONTRIBUTING` doc, e.g. using
  a "repo" hyperlink for the repository and updating the
  link to the `tox` docs
@dhermes dhermes force-pushed the collapse-travis-config-2 branch from 3ddcbf6 to 7e4f576 Compare October 3, 2016 18:29
@dhermes
Copy link
Contributor Author

dhermes commented Oct 3, 2016

@tseaver @daspecster PTAL

@daspecster
Copy link
Contributor

Could we rebase this since #2473 was merged?

@dhermes
Copy link
Contributor Author

dhermes commented Oct 3, 2016

Could we rebase this since #2473 was merged?

It's been rebased 😉

@dhermes dhermes merged commit 8fcf9ef into googleapis:master Oct 3, 2016
@dhermes dhermes deleted the collapse-travis-config-2 branch October 3, 2016 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement. testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants