From af34ec9a01744402488eba9a74eac93a41630de3 Mon Sep 17 00:00:00 2001 From: REJack Date: Mon, 3 Dec 2018 18:45:16 +0100 Subject: [PATCH] updated .gitlab-ci.yml --- .gitlab-ci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4eef846..a94feb6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,10 +6,10 @@ before_script: - mkdir aauth_temp - shopt -s extglob dotglob - mv !(aauth_temp) aauth_temp - - curl https://codeload.github.com/codeigniter4/CodeIgniter4/zip/v4.0.0-alpha.3 --output CI4.zip + - curl https://codeload.github.com/codeigniter4/CodeIgniter4/zip/v${CODEIGNITER_VERSION} --output CI4.zip - unzip CI4.zip - - cp -r aauth_temp/* CodeIgniter4-4.0.0-alpha.3 - - cd CodeIgniter4-4.0.0-alpha.3 + - cp -r aauth_temp/* CodeIgniter4-${CODEIGNITER_VERSION} + - cd CodeIgniter4-${CODEIGNITER_VERSION} - composer install # Bring in any services we need http://docs.gitlab.com/ee/ci/docker/using_docker_images.html#what-is-a-service @@ -22,12 +22,14 @@ variables: # Configure mysql environment variables (https://hub.docker.com/r/_/mysql/) MYSQL_DATABASE: aauth_v3_ci4_testing MYSQL_ROOT_PASSWORD: root + CODEIGNITER_VERSION: '4.0.0-alpha.3' # Run our tests # If Xdebug was installed you can generate a coverage report and see code coverage metrics. test: after_script: - - cp -R CodeIgniter4-4.0.0-alpha.3/build/coverage coverage + - cp -R CodeIgniter4-${CODEIGNITER_VERSION}/build/coverage coverage + artifacts: name: "coverage" paths: