Skip to content

Commit

Permalink
Merge pull request #278 from yanganto/ci/comment-tests
Browse files Browse the repository at this point in the history
 comment on the test case not ready
  • Loading branch information
AurevoirXavier authored Feb 21, 2020
2 parents b14cf15 + 036f19a commit b4cd151
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: rust
rust:
- nightly
rust: nightly-2020-02-07

branches:
only:
Expand All @@ -14,35 +13,38 @@ env:
before_install:
# Check how much space we've got on this machine.
- df -h
- rustup target add wasm32-unknown-unknown
- rustup target add wasm32-unknown-unknown --toolchain nightly-2020-02-07


jobs:
include:
- stage: Check & Prepare
script: .maintain/ci/fmt_script.sh

- stage: Build
env: RUST_TOOLCHAIN=nightly TARGET=native
env: RUST_TOOLCHAIN=nightly-2020-02-07 TARGET=native
script: .maintain/ci/build_script.sh

- stage: Build
env: RUST_TOOLCHAIN=nightly TARGET=wasm
env: RUST_TOOLCHAIN=nightly-2020-02-07 TARGET=wasm
script: .maintain/ci/build_script.sh

- stage: Darwinia Test
env: RUST_TOOLCHAIN=nightly TARGET=native KTON
env: RUST_TOOLCHAIN=nightly-2020-02-07 TARGET=native KTON
script: .maintain/ci/darwinia_test_script.sh kton

- stage: Darwinia Test
env: RUST_TOOLCHAIN=nightly TARGET=native RING
env: RUST_TOOLCHAIN=nightly-2020-02-07 TARGET=native RING
script: .maintain/ci/darwinia_test_script.sh ring

# TODO: remove this, when staking test case upgrade ready
allow_failures:
- stage: Darwinia Test
env: RUST_TOOLCHAIN=nightly TARGET=native STAKING
env: RUST_TOOLCHAIN=nightly-2020-02-07 TARGET=native STAKING
script: .maintain/ci/darwinia_test_script.sh staking

- stage: Overall Test
env: RUST_TOOLCHAIN=nightly TARGET=native
env: RUST_TOOLCHAIN=nightly-2020-02-07 TARGET=native
script: .maintain/ci/test_script.sh

after_script:
Expand Down

0 comments on commit b4cd151

Please sign in to comment.