From baebdfefd931fca6799e2163d9ca3efe1520d4d3 Mon Sep 17 00:00:00 2001 From: Tilo Spannagel Date: Tue, 30 Jun 2020 02:12:41 +0200 Subject: Replace Travis CI with GitHub actions (#939) * Test build images using github actions Signed-off-by: Tilo Spannagel * Check for Changes by update.sh using github actions Signed-off-by: Tilo Spannagel * Remove travis.yml Signed-off-by: Tilo Spannagel --- update.sh | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'update.sh') diff --git a/update.sh b/update.sh index 7f317bec..5fc6da1f 100755 --- a/update.sh +++ b/update.sh @@ -100,8 +100,6 @@ function check_beta_released() { printf '%s\n' "${fullversions_beta[@]}" | grep -qE "^$( echo "$1" | grep -oE '[[:digit:]]+(\.[[:digit:]]+){2}' )" } -travisEnv= - function create_variant() { dir="$1/$variant" phpVersion=${php_version[$version]-${php_version[default]}} @@ -170,10 +168,6 @@ function create_variant() { if [ "$variant" != "apache" ]; then rm "$dir/config/apache-pretty-urls.config.php" fi - - for arch in i386 amd64; do - travisEnv=' - env: VERSION='"$1"' VARIANT='"$variant"' ARCH='"$arch"'\n'"$travisEnv" - done } curl -fsSL 'https://download.nextcloud.com/server/releases/' |tac|tac| \ @@ -260,11 +254,3 @@ for version in "${versions_alpha[@]}"; do fi fi done - -# remove everything after '- stage: test images' -travis="$(awk '!p; /- stage: test images/ {p=1}' .travis.yml)" -echo "$travis" > .travis.yml - -# replace the fist '-' with ' ' -travisEnv="$(echo "$travisEnv" | sed '0,/-/{s/-/ /}')" -printf "$travisEnv" >> .travis.yml -- cgit v1.2.3