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 <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
Gabriela Cervantes 2021-04-08 14:27:54 -05:00
parent e5df408f64
commit 1c70ef544f

View File

@ -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()
{