forked from darwinia-network/darwinia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
59 lines (45 loc) · 1.68 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
language: rust
rust: nightly-2020-02-07
branches:
only:
- master
- develop
env:
global:
- RUST_BACKTRACE=1
before_install:
# Check how much space we've got on this machine.
- df -h
- 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-2020-02-07 TARGET=wasm
script: .maintain/ci/build_script.sh
# TODO: following tests are moved to circle ci
# - stage: Build
# env: RUST_TOOLCHAIN=nightly-2020-02-07 TARGET=native
# script: .maintain/ci/build_script.sh
# - stage: Darwinia Test
# env: RUST_TOOLCHAIN=nightly-2020-02-07 TARGET=native RING
# script: .maintain/ci/darwinia_test_script.sh ring
# - stage: Darwinia Test
# env: RUST_TOOLCHAIN=nightly-2020-02-07 TARGET=native STAKING
# script: .maintain/ci/darwinia_test_script.sh staking
# - stage: Darwinia Test
# env: RUST_TOOLCHAIN=nightly-2020-02-07 TARGET=native TREASURY
# script: .maintain/ci/darwinia_test_script.sh treasury
# - stage: Darwinia Test
# env: RUST_TOOLCHAIN=nightly-2020-02-07 TARGET=native ETHRELAY
# script: .maintain/ci/darwinia_test_script.sh eth-relay
# - stage: Darwinia Test
# env: RUST_TOOLCHAIN=nightly-2020-02-07 TARGET=native ETHBACKING
# script: .maintain/ci/darwinia_test_script.sh eth-backing
# - stage: Overall Test
# env: RUST_TOOLCHAIN=nightly-2020-02-07 TARGET=native
# script: .maintain/ci/test_script.sh
after_script:
# Check how much free disk space left after the build
- df -h