From 8d979d8122559f0f449a656d374d2cde92401d23 Mon Sep 17 00:00:00 2001 From: Craig Astill Date: Tue, 27 Jul 2021 17:03:00 +0100 Subject: [PATCH] Update travis with python/cask deprecation. Travis is failing: https://travis-ci.org/github/jorgenschaefer/pyvenv/jobs/772569402, so trying to work around the deprecation: ``` ... Done (Total of 2 files compiled, 1 skipped) Package `s-1.12.0' deleted. Wrote /home/travis/.emacs.d/.cask/24.3/bootstrap/s-20180406.808/s.el File exists: /home/travis/.emacs.d/.cask/24.3/bootstrap/s-20180406.808/s-pkg.el !!! !!! DEPRECATION NOTICE !!! !!! !!! The cask `go` script will be removed on 2021/06/01. !!! !!! This is due to security concerns about the way python is !!! invoked from curl, and to remove the python dependency from cask. !!! !!! The way to install cask without depending on the `go` script !!! is very simple. Just clone Cask and pass the PATH. !!! !!! git clone https://github.com/cask/cask ~/.cask !!! PATH=$HOME/.cask/bin:$PATH !!! !!! # If you want to make it permanent !!! echo 'PATH=$HOME/.cask/bin:$PATH' >> .bashrc !!! Cask could not be bootstrapped. Try again later, or report an issue at https://github.com/cask/cask/issues The command "curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > travis.sh && source ./travis.sh" failed and exited with 1 during . Your build has been stopped. ``` --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1883afa..8238308 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,10 @@ env: - EVM_EMACS=emacs-26.3-travis - EVM_EMACS=emacs-27.1-travis before_install: - - curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > travis.sh && source ./travis.sh + - git clone https://github.com/cask/cask ~/.cask + - export PATH=$HOME/.cask/bin:$HOME/.evm/bin:$PATH + - git clone https://github.com/rejeep/evm.git /home/travis/.evm + - evm config path /tmp - evm install $EVM_EMACS --use --skip - cask script: