-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
57 lines (50 loc) · 1.14 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
language:
- rust
- node_js
cache: cargo
sudo: required
services: docker
node_js:
- "node"
rust:
- stable
- beta
- nightly
env:
matrix:
- TARGET="x86_64-unknown-linux-gnu"
- TARGET="mips-unknown-linux-gnu"
- TARGET="mipsel-unknown-linux-gnu"
- TARGET="mips64-unknown-linux-gnuabi64"
- TARGET="mips64el-unknown-linux-gnuabi64"
- TARGET="aarch64-unknown-linux-gnu"
addons:
apt:
packages:
- build-essential
before_install:
- command -v cross 1>/dev/null || cargo install cross
script:
- cross build --target $TARGET --verbose --all
- cross test --target $TARGET --verbose --all
matrix:
allow_failures:
- rust: nightly
fast_finish: true
include:
- rust: stable
? env
? before_install
script:
- rustup component add rustfmt-preview
- cargo fmt --all -- --check
- rust: stable
? env
before_install:
- nvm install v8.10.0
- nvm use v8.10.0
- npm install -g ganache-cli@latest truffle@latest
before_script:
- source scripts/chain-prep.sh
script:
- cargo test --verbose -- --nocapture --ignored contract