Skip to content

Conversation

@bjlittle
Copy link
Member

@bjlittle bjlittle commented Jul 9, 2019

This PR fixes the travis-ci tests. It also tidies the .travis-ci script some what.

Additionally, it also extends the testing to incorporate Python 3.7. So now we have coverage of Python 2.7, 3.6 and 3.7.... well, I say 2.7, but not for long 😉

Note that, we need to pin to dask<2 as there is some odd behaviour that is difficult to track-down and resolve for 3.6 and 3.7. As such, I've create this issue #3349.

I'm only happy to pin short-term, and investigate (and fix) the underlying issue asap, but pinning seems appropriate here in order to unblock PRs with successful CI.

Note that, I've moved to language: minimal, as this may speed-up the spin-up time of travis, see Travis CI - Minimal and Generic Images. Also, since we're using miniconda to control our use of packages and Python, there is actually no need to use Python as provisioned with a Travis CI language: python image.

self.assertRaises(TypeError, iris.analysis.maths.IFunc, math.sqrt,
lambda cube: cf_units.Unit('1'))
if six.PY2:
# should fail because math.sqrt is built-in function, which can not be

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E501 line too long (82 > 79 characters)

@bjlittle bjlittle added this to the v2.3.0 milestone Jul 9, 2019
@pp-mo pp-mo self-assigned this Jul 9, 2019
Copy link
Member

@pp-mo pp-mo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One tiny query...
Rest all makes sense, LGTM 👍

@pp-mo pp-mo merged commit d0a75cf into SciTools:master Jul 9, 2019
@bjlittle
Copy link
Member Author

bjlittle commented Jul 9, 2019

Awesome sauce, thanks @pp-mo

@bjlittle bjlittle mentioned this pull request Jul 9, 2019
2 tasks
@bjlittle bjlittle deleted the update-travis branch July 11, 2019 09:00
@bjlittle bjlittle mentioned this pull request Jul 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants