Update CI

This commit is contained in:
Romain Vigier
2020-05-25 20:20:26 +02:00
parent 8c9afacb24
commit b13c9161b4
+8 -5
View File
@@ -36,9 +36,12 @@ test:
rules:
- changes:
- src/
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"'
- if: '$CI_COMMIT_TAG'
- if: '$CI_COMMIT_BRANCH == "master"'
- if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH
changes:
- src/
- if: $CI_COMMIT_TAG
changes:
- src/
script:
- dnf --setopt=cachedir=$(pwd)/.dnf_cache --setopt=keepcache=True install -y node npm
- make deps-install
@@ -47,8 +50,8 @@ test:
build:
stage: build
rules:
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"'
- if: '$CI_COMMIT_TAG'
- if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH
- if: $CI_COMMIT_TAG
script:
- dnf --setopt=cachedir=$(pwd)/.dnf_cache --setopt=keepcache=True install -y gnome-shell gettext
- make build