Stop using Travis CI which doesn't work any longer
Unfortunately Travis CI can't be used for building open source projects any longer in practice, as extra credits must be manually requested every time from Travis support, which is just infeasible, as this would need to be done every couple of days if not more often, and support reply time is anything from a couple of days to more than a month. So stop even trying to use it, as it doesn't work anyhow, and switch to using GitHub Actions only. Closes #2067
This commit is contained in:
parent
b98c78441f
commit
7610997209
5 changed files with 1 additions and 576 deletions
|
|
@ -1,25 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Wrapper around 'brew install' emitting a message every minute if the command is still running.
|
||||
# This is used on Travis to ensure the install isn't killed when there is no output over a long period (10 minutes).
|
||||
# Usage: brew-install package, where package is the name of the package for brew to install.
|
||||
|
||||
seconds=0
|
||||
minutes=0
|
||||
brew install "$@" &
|
||||
while true; do
|
||||
ps -p$! 2>& 1>/dev/null
|
||||
if [ $? = 0 ]; then
|
||||
if [ $seconds = 60 ]; then
|
||||
let seconds=0
|
||||
let minutes=minutes+1
|
||||
echo "brew install $1 still running ($minutes min)"
|
||||
fi
|
||||
sleep 1
|
||||
let seconds=seconds+1
|
||||
else
|
||||
break
|
||||
fi
|
||||
done
|
||||
wait $!
|
||||
exit $?
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Install Linux packages where the version has been overridden in .travis.yml
|
||||
|
||||
lsb_release -a
|
||||
# find location of current script (only works in bash)
|
||||
script_dir="$( dirname "${BASH_SOURCE[0]}")"
|
||||
|
||||
# run generic script
|
||||
RETRY=travis-retry
|
||||
source "$script_dir"/CI-linux-install.sh
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Install MacOS packages where the version has been overridden in .travis.yml
|
||||
|
||||
set -e # exit on failure (same as -o errexit)
|
||||
|
||||
# Disable 'brew cleanup', just wastes Travis job run time
|
||||
export HOMEBREW_NO_INSTALL_CLEANUP=1
|
||||
|
||||
sw_vers
|
||||
travis_retry brew update
|
||||
echo "Installed packages..."
|
||||
travis_retry brew list --versions
|
||||
# travis_retry brew install pcre # Travis Xcode-7.3 has pcre
|
||||
# travis_retry brew install boost
|
||||
|
||||
WITHLANG=$SWIGLANG
|
||||
|
||||
case "$SWIGLANG" in
|
||||
"csharp")
|
||||
travis_retry brew install mono
|
||||
;;
|
||||
"lua")
|
||||
travis_retry brew install lua
|
||||
;;
|
||||
"octave")
|
||||
travis_retry Tools/brew-install octave
|
||||
;;
|
||||
"perl5")
|
||||
travis_retry Tools/brew-install perl
|
||||
;;
|
||||
"python")
|
||||
WITHLANG=$SWIGLANG$PY3
|
||||
;;
|
||||
"tcl")
|
||||
travis_retry Tools/brew-install --cask tcl
|
||||
;;
|
||||
esac
|
||||
|
||||
# Workaround for https://github.com/travis-ci/travis-ci/issues/6522
|
||||
set +e # turn off exit on failure (same as +o errexit)
|
||||
Loading…
Add table
Add a link
Reference in a new issue