Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

while working on the platform tests make them non-breaking #9563

Merged
merged 4 commits into from
Sep 15, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 28 additions & 28 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,32 @@ cache:
- export VERSION
- echo "Version = ${VERSION}"



#### stage: test

test-rust-stable: &test
test-linux-rust-stable: &test
stage: test
script:
- scripts/gitlab/test.sh stable
tags:
- rust-stable

test-darwin-macos-x86_64:
test-linux-rust-beta:
stage: test
script:
- scripts/gitlab/test.sh beta
tags:
- rust-stable
allow_failure: true

test-linux-rust-nightly:
stage: test
script:
- scripts/gitlab/test.sh nightly
tags:
- rust-stable
allow_failure: true

test-darwin-rust-stable:
stage: test
variables:
CARGO_TARGET: x86_64-apple-darwin
Expand All @@ -70,8 +84,9 @@ test-darwin-macos-x86_64:
- scripts/gitlab/test.sh stable
tags:
- osx
allow_failure: true

test-linux-android-armhf:
test-android-rust-stable:
stage: test
image: parity/rust-android:gitlab-ci
variables:
Expand All @@ -80,8 +95,9 @@ test-linux-android-armhf:
- scripts/gitlab/test.sh stable
tags:
- rust-arm
allow_failure: true

test-windows-msvc-x86_64:
test-windows-rust-stable:
stage: test
cache:
key: "%CI_JOB_NAME%"
Expand All @@ -95,27 +111,14 @@ test-windows-msvc-x86_64:
- sh scripts/gitlab/test.sh stable
tags:
- rust-windows




allow_failure: true

.optional_test: &optional_test
<<: *test
allow_failure: true
only:
- master

test-rust-beta:
<<: *optional_test
script:
- scripts/gitlab/test.sh beta

test-rust-nightly:
<<: *optional_test
script:
- scripts/gitlab/test.sh nightly

test-lint-rustfmt:
<<: *optional_test
script:
Expand All @@ -127,15 +130,11 @@ test-lint-clippy:
- scripts/gitlab/clippy.sh

test-coverage-kcov:
stage: test
only:
- master
<<: *optional_test
script:
- scripts/gitlab/coverage.sh
tags:
- shell
allow_failure: true


#### stage: build

Expand All @@ -158,6 +157,7 @@ build-linux-ubuntu-i386:
CARGO_TARGET: i686-unknown-linux-gnu
tags:
- rust-i686
allow_failure: true

build-linux-ubuntu-arm64:
<<: *build
Expand All @@ -167,6 +167,7 @@ build-linux-ubuntu-arm64:
CARGO_TARGET: aarch64-unknown-linux-gnu
tags:
- rust-arm
allow_failure: true

build-linux-ubuntu-armhf:
<<: *build
Expand All @@ -176,6 +177,7 @@ build-linux-ubuntu-armhf:
CARGO_TARGET: armv7-unknown-linux-gnueabihf
tags:
- rust-arm
allow_failure: true

build-linux-android-armhf:
stage: build
Expand All @@ -187,6 +189,7 @@ build-linux-android-armhf:
- scripts/gitlab/build-unix.sh
tags:
- rust-arm
allow_failure: true

build-darwin-macos-x86_64:
stage: build
Expand Down Expand Up @@ -218,7 +221,6 @@ build-windows-msvc-x86_64:
- rust-windows
<<: *collect_artifacts


#### stage: package

package-linux-snap-amd64: &package_snap
Expand Down Expand Up @@ -260,7 +262,6 @@ package-linux-snap-armhf:
dependencies:
- build-linux-ubuntu-armhf


#### stage: publish

publish-linux-snap-amd64: &publish_snap
Expand Down Expand Up @@ -332,7 +333,6 @@ publish-github-and-s3:
tags:
- shell


####stage: docs

docs-rpc-json:
Expand Down