in order to make srml staking tests mandatory it is required to run on every pr (#3511)

This commit is contained in:
gabriel klawitter
2019-08-29 16:59:34 +02:00
committed by GitHub
parent ee16acdc14
commit 7126ade259
+9 -10
View File
@@ -44,7 +44,6 @@ variables:
- cargo --version - cargo --version
- sccache -s - sccache -s
only: only:
- tags
- master - master
- /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1 - /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
- schedules - schedules
@@ -53,6 +52,13 @@ variables:
tags: tags:
- linux-docker - linux-docker
.build-only: &build-only
only:
- master
- /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
- web
#### stage: test #### stage: test
@@ -145,10 +151,6 @@ test-srml-staking: &test-srml-staking
except: except:
variables: variables:
- $DEPLOY_TAG - $DEPLOY_TAG
only:
changes:
- .gitlab-ci.yml
- srml/staking/*
script: script:
- cd srml/staking/ - cd srml/staking/
- time cargo test --release --verbose --no-default-features --features std - time cargo test --release --verbose --no-default-features --features std
@@ -214,11 +216,6 @@ check-web-wasm:
- time cargo web build -p substrate-trie - time cargo web build -p substrate-trie
- sccache -s - sccache -s
.build-only: &build-only
only:
- master
- tags
- web
#### stage: build #### stage: build
@@ -525,6 +522,8 @@ deploy-ue1-tag:
name: parity-prod-ue1 name: parity-prod-ue1
.validator-deploy: &validator-deploy .validator-deploy: &validator-deploy
# script will fail if there is no artifacts/substrate/VERSION
<<: *build-only
stage: flaming-fir stage: flaming-fir
dependencies: dependencies:
- build-linux-substrate - build-linux-substrate