extend test template

This commit is contained in:
Dhairya Gandhi 2019-09-18 12:32:11 +05:30
parent 37fe91d54d
commit 99b6fe57e9
1 changed files with 3 additions and 14 deletions

View File

@ -7,28 +7,17 @@ variables:
include: include:
- 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v3/common.yml' - 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v3/common.yml'
.flux:
extends: .test
script:
- julia -e 'using InteractiveUtils;
versioninfo()'
- mkdir $JULIA_DEPOT_PATH # Pkg3.jl#325
- julia --project -e 'using Pkg;
Pkg.instantiate();
Pkg.build();
Pkg.test(; coverage=true);'
test:v1.0: test:v1.0:
extends: .flux extends: .test
variables: variables:
CI_VERSION_TAG: 'v1.0' CI_VERSION_TAG: 'v1.0'
test:v1.1: test:v1.1:
extends: .flux extends: .test
variables: variables:
CI_VERSION_TAG: 'v1.1' CI_VERSION_TAG: 'v1.1'
test:v1.2: test:v1.2:
extends: .flux extends: .test
variables: variables:
CI_VERSION_TAG: 'v1.2' CI_VERSION_TAG: 'v1.2'