Skip to content
Snippets Groups Projects
Commit ec758989 authored by nanocryk's avatar nanocryk
Browse files

Merge branch 'ci' into 'dev'

Execute build and tests in all toolchains

See merge request !7
parents 2c349104 d2a1ae84
No related branches found
No related tags found
1 merge request!7Execute build and tests in all toolchains
...@@ -6,22 +6,43 @@ stages: ...@@ -6,22 +6,43 @@ stages:
before_script: before_script:
- export PATH="$HOME/.cargo/bin:$PATH" - export PATH="$HOME/.cargo/bin:$PATH"
builds: build:stable:
stage: builds stage: builds
tags: tags:
- redshift-rs - redshift-rs-stable
script: script:
- cargo build - cargo build
tests: tests:stable:
stage: tests stage: tests
tags: tags:
- redshift-rs - redshift-rs-stable
script: script:
- cargo test - cargo test
build_and_tests:beta:
stage: tests
tags:
- redshift-rs-beta
script:
- rustup update
- cargo test
when: manual
allow_failure: true
build_and_tests:nightly:
stage: tests
tags:
- redshift-rs-nightly
script:
- rustup update
- cargo test
when: manual
allow_failure: true
fmt: fmt:
stage: fmt stage: fmt
image: scorpil/rust:nightly-onbuild
tags: tags:
- redshift-rs-nightly - redshift-rs-nightly
before_script: before_script:
...@@ -29,3 +50,5 @@ fmt: ...@@ -29,3 +50,5 @@ fmt:
- cargo install --force rustfmt-nightly - cargo install --force rustfmt-nightly
script: script:
- cargo fmt -- --write-mode=diff - cargo fmt -- --write-mode=diff
allow_failure: true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment