From 2bd99ffd3354ebdc637203923a80e927aca570c5 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Mon, 19 Oct 2020 13:53:51 +0800 Subject: [PATCH] Simplify travis config. --- .travis.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index f2cce11..684dde6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,11 +19,8 @@ addons: - yq script: - - >- - git clone https://${GH_PAT}@github.com/${GH_USER}/${BUILDER_REPO}.git - ${HOME}/${BUILDER_REPO} --depth=1 -q - - cp -r ${HOME}/${BUILDER_REPO}/framework/* . - - bash _cibuild.sh + - git -C "$HOME" clone "$BUILDER_REPO" --depth=1 -q + - eval "$BUILD_CMD" branches: only: production