From 1c70ef544feaa376615fff5441199522eadc26c6 Mon Sep 17 00:00:00 2001 From: Gabriela Cervantes Date: Thu, 8 Apr 2021 14:27:54 -0500 Subject: [PATCH] ci: Fix travis for stable-2.0 This PR fixes travis in stable-2.0 as is taking the branch from the travis environment instead of using main. Fixes #1663 Signed-off-by: Gabriela Cervantes --- ci/lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/lib.sh b/ci/lib.sh index efffc1cccc..f1b4dc0715 100644 --- a/ci/lib.sh +++ b/ci/lib.sh @@ -5,7 +5,7 @@ export tests_repo="${tests_repo:-github.com/kata-containers/tests}" export tests_repo_dir="$GOPATH/src/$tests_repo" -export branch="${branch:-main}" +export branch="${branch:-$TRAVIS_BRANCH}" clone_tests_repo() {