From ba61ce8ecc7ce6fa8b4a760caf1028066aebdd71 Mon Sep 17 00:00:00 2001 From: Justin Date: Sun, 20 May 2018 12:52:52 -0400 Subject: [PATCH] Still trying to figure out why the variables are not returned in travis ci --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 17b1405d..74426a86 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,8 +15,10 @@ before_script: - docker-compose -f docker-compose.test.yml up -d ## Get the docker env variables - - export PERSONAL_ACCESS_TOKEN=$(docker exec -it gitlab bash -lc "printenv PERSONAL_ACCESS_TOKEN" -d) - - export GITLAB_URL=$(docker exec -it gitlab bash -lc "printenv GITLAB_URL" -d) + - echo $(docker exec -it gitlab bash -lc 'echo "$GITLAB_URL"') + + - export PERSONAL_ACCESS_TOKEN=$(docker exec -it gitlab bash -lc 'echo "$GITLAB_URL"') + - export GITLAB_URL=$(docker exec -it gitlab bash -lc 'echo "$GITLAB_URL"') ## Sleep before performing commands on container - sleep 30