My travis builds used to work just fine until today, since when they’ve been failing consistently, even though I didn’t tamper the .travis.yml
file in my recent commits. The part where my builds fail is when executing the following code block:
if [ $latest ]; then
link=$(curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | grep "/hugo_[0-9]\.[0-9]*_Linux-64bit.tar.gz" | cut -d\" -f4)
else
link="https://github.com/gohugoio/hugo/releases/download/v${minVer}/hugo_${minVer}_Linux-64bit.tar.gz"
fi
For some reason, the $link
variable doesn’t get initialised which causes the build to fails later on.
Have any considerable changes been made to travis which are causing these failures or is the issue arising just from my side?
Here’s my .travis.yml
: hugo-dream-plus/.travis.yml
Here’s my build log: The build log