Update .gitlab-ci.yml

This commit is contained in:
Sean "Solao Bajiuik" Stoves 2020-06-06 11:00:41 -04:00
parent 89abd2f34a
commit 6535534ce0

View File

@ -7,10 +7,6 @@ variables:
NUGET_PACKAGES_DIRECTORY: '.nuget' NUGET_PACKAGES_DIRECTORY: '.nuget'
SOURCE_CODE_PATH: 'ChaosBot/*/' SOURCE_CODE_PATH: 'ChaosBot/*/'
only:
changes:
- ChaosBot/**/*
stages: stages:
- build - build
- test - test
@ -32,9 +28,15 @@ cache:
before_script: before_script:
- 'dotnet restore --packages $NUGET_PACKAGES_DIRECTORY' - 'dotnet restore --packages $NUGET_PACKAGES_DIRECTORY'
only:
changes:
- ChaosBot/**/*
build: build:
stage: build stage: build
only:
changes:
- ChaosBot/**/*
tags: tags:
- docker - docker
- hawkeye - hawkeye
@ -43,6 +45,9 @@ build:
tests: tests:
stage: test stage: test
only:
changes:
- ChaosBot/**/*
tags: tags:
- docker - docker
- hawkeye - hawkeye