Skip to content

Commit 2cb0588

Browse files
author
Andronik Ordian
authored
travis: test parity-util-mem on android (#358)
1 parent be07049 commit 2cb0588

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.travis.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,16 @@ matrix:
88
rust: stable
99
before_script:
1010
- rustup component add rustfmt
11-
- os: linux
12-
rust: beta
1311
- os: linux
1412
rust: nightly
1513
script:
16-
- cargo check --all --benches
14+
- cargo check --workspace --benches
15+
- os: linux
16+
rust: stable
17+
install:
18+
- cargo install cross
19+
script:
20+
- cross test --target=aarch64-linux-android -p parity-util-mem
1721
- os: osx
1822
osx_image: xcode11.3
1923
addons:
@@ -32,12 +36,10 @@ matrix:
3236
install:
3337
- curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
3438
script:
35-
- if [ "$TRAVIS_RUST_VERSION" == "stable" ] && [ "$TRAVIS_OS_NAME" == "linux" ]; then
39+
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then
3640
cargo fmt -- --check;
3741
fi
38-
- cargo check --all --tests
39-
- cargo check --all --benches
40-
- cargo build --all
42+
- cargo check --workspace --tests --benches
4143
- cargo test --all --exclude uint --exclude fixed-hash --exclude parity-crypto
4244
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then
4345
cd contract-address/ && cargo test --features=external_doc && cd ..;

0 commit comments

Comments
 (0)