Skip to content

Conversation

@rhattersley
Copy link
Member

Let's see if it fixes the Travis-CI issues...

@rhattersley
Copy link
Member Author

It does! \o/

rhattersley added a commit that referenced this pull request Nov 18, 2014
@rhattersley rhattersley merged commit 460c034 into SciTools:master Nov 18, 2014
@rhattersley rhattersley deleted the update-miniconda branch November 18, 2014 11:10
@cpelley
Copy link

cpelley commented Nov 21, 2014

Annoying how they have a 'latest' for the Python2 version but no equivelent for the Python3 version
http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh

@ocefpaf
Copy link
Member

ocefpaf commented Nov 21, 2014

@cpelley I do not remember where I saw this setup originally (the link below is my modified version):

https://github.com/ocefpaf/python-seawater/blob/master/.travis.yml

But using env in travis you can download the latest conda for Python2 and then create environments for both py2 and py3.

@cpelley
Copy link

cpelley commented Nov 21, 2014

Thanks @ocefpaf. This begs the question, why we are explicitly downloading the Python3 miniconda version in our travis...?

@pelson
Copy link
Member

pelson commented Nov 21, 2014

This begs the question, why we are explicitly downloading the Python3 miniconda version in our travis...?

A fair question. In the next few weeks I'm considering writing a python-ci module which abstracts this out of Iris, Cartopy, Biggus and any other project which is doing this kind of thing (e.g. matplotlib). There are similar scripts for CI on Windows machines that you really don't want to be copied everywhere... 😉

@rhattersley
Copy link
Member Author

why we are explicitly downloading the Python3 miniconda version in our travis...?

Because it's quicker.

@cpelley
Copy link

cpelley commented Nov 24, 2014

I'm considering writing a python-ci module which abstracts this out of Iris, Cartopy, Biggus and any other project which is doing this kind of thing (e.g. matplotlib)

Sounds like a great idea

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