Possible to use current Sage version in travis-ci?

121 views
Skip to first unread message

Simon King

unread,
Jul 31, 2019, 5:33:21 PM7/31/19
to sage-...@googlegroups.com
Hi!

Last week at SageDays100, I got an introduction to travis-ci, and with
help from this list and a lot of duckduckgo-search I now have a version
of my group cohomology software that on github with travis-ci successfully
installs in a Sage docker image.

Problem: It does install, but it wouldn't pass tests in the docker
image, since it uses features that are only in the latest beta.

Question: Is it (reasonably) possible to use a sage beta version in
travis-ci? How?

Best regards,
Simon

Message has been deleted

Nathan Dunfield

unread,
Jul 31, 2019, 11:44:05 PM7/31/19
to sage-devel
On Wednesday, July 31, 2019 at 4:33:21 PM UTC-5, Simon King wrote:
Question: Is it (reasonably) possible to use a sage beta version in
travis-ci? How?

Docker images with beta versions of Sage are available:


so just change the requested image in the travis config file to, for example, "sagemath/sagemath:8.9.beta4".  I don't know if there's a way to simply get the most recently posted image (the tag ":latest" is just a name, and currently seems to be equivalent to ":8.7").

Best,

Nathan  

Markus Wageringel

unread,
Aug 1, 2019, 5:55:50 AM8/1/19
to sage-devel
Usually, the latest beta should be available as sagemath/sagemath:develop at DockerHub. However, for some reason this tag has not been updated in a while, so it still points to 8.8.beta5. See also https://groups.google.com/forum/#!topic/sage-devel/hHWlOluXtos.

It is also possible to use the docker image registry.gitlab.com/sagemath/dev/trac/sagemath:develop from gitlab which is up-to-date with the latest beta. Though, I am not sure whether this is officially supported.

Simon King

unread,
Aug 1, 2019, 6:52:38 AM8/1/19
to sage-...@googlegroups.com
Hi Nathan,

On 2019-08-01, Nathan Dunfield <nat...@dunfield.info> wrote:
> Docker images with beta versions of Sage are available:
>
> https://hub.docker.com/r/sagemath/sagemath/tags

Great, thank you! When applying a patch (from some closed-but-not-merged
ticket) to the latest beta tag then things work fine, which probably means
that in the near future I can say more about my software than "it works
on my laptop" ;-)

Is it possible to automatically go to the latest available tag?

Best regards,
Simon

Simon King

unread,
Aug 1, 2019, 7:04:57 AM8/1/19
to sage-...@googlegroups.com
Hi Markus,

apparently our posts crossed.
Indeed it seems that "docker pull sagemath/sagemath-dev:develop" works (note:
sagemath-dev:develop, not sagemath:develop).

Best regards,
Simon

Julian Rüth

unread,
Aug 1, 2019, 1:02:59 PM8/1/19
to sage-devel
Hi Simon,

> On Thursday, August 1, 2019 at 12:52:38 PM UTC+2, Simon King wrote:
Is it possible to automatically go to the latest available tag?

"latest" is the latest stable release of SageMath, and "develop" is the latest beta (see also the README at https://hub.docker.com/r/sagemath/sagemath).
Unfortunately, the master/develop branch in GitLab had been unprotected somehow which is why these tags where not updated. I made them protected again, so the tags should update in a few minutes.

julian
Reply all
Reply to author
Forward
0 new messages