Skip to content

BuildFix: change Travis build to handle conda changes #102

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

Merged

Conversation

roryyorke
Copy link
Contributor

Changes:

  • do build and test inside a conda environment
  • specify Python version at conda build stage

These changes triggered by builds failing without changes in HEAD; I assume this is due to Conda changes, rather than Travis changes.

See https://travis-ci.org/roryyorke/python-control/builds/142789873 for an example of master HEAD failing; first noticed in the Python 3.3 travis failure in #101 (haven't tested that on top of this fix, but given that it passes on Python 2.7 and 3.4, it seems like it would pass).

Both .travis.yml and conda-recipe/meta-yaml could do with a review by an expert (I'm not one); e.g., why is "nose" a build requirement, rather than a test requirement? Shouldn't we follow standard (0.7.1+stuff) versioning? Why does the version end up as 0.6d.stuff on my Travis builds, not 0.7.stuff?

Changes:
  - do build and test inside a conda environment
  - specify Python version at conda build stage

These changes triggered by builds failing *without* changes occuring to
HEAD.
@coveralls
Copy link

coveralls commented Jul 6, 2016

Coverage Status

Coverage remained the same at 76.004% when pulling a873368 on roryyorke:rory-conda-build-tweaks into 7b07af3 on python-control:master.

mp4096 added a commit to mp4096/python-control that referenced this pull request Jul 6, 2016
@mp4096
Copy link
Contributor

mp4096 commented Jul 6, 2016

Many thanks for the repaired CI config!

Works like a charm for #101: https://travis-ci.org/mp4096/python-control/builds/142872267

I would actually suggest you add Python 3.5 as a fourth test environment, it seems to gain momentum steadily...

@slivingston
Copy link
Member

I will review this today.

@slivingston slivingston merged commit d0528fd into python-control:master Aug 10, 2016
@roryyorke roryyorke deleted the rory-conda-build-tweaks branch August 12, 2016 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants