Skip to content

Commit

Permalink
Add i686 to travis
Browse files Browse the repository at this point in the history
  • Loading branch information
rubdos committed Apr 2, 2018
1 parent df6d311 commit c8b246f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,18 @@ matrix:
env:
- TEST=crash
- RUST_BACKTRACE=1
- rust: nightly-2018-01-02
env:
- TEST=cross-build
- TARGET=i686-unknown-linux-gnu

install:
- curl https://sh.rustup.rs -sSf |
sh -s -- -y --default-toolchain $TRAVIS_RUST_VERSION
- if [ -n "$TARGET" ]; then
rustup target add $TARGET;
fi
- source ~/.cargo/env

script:
- bash -c 'case "$TEST" in
Expand All @@ -38,6 +50,11 @@ script:
crash)
cargo test test_crash_recovery --release --features="check_snapshot_integrity" -- --nocapture
;;
cross-build)
echo "https://github.com/rust-lang/cargo/issues/4753"
pushd crates/sled; cargo build --target $TARGET --features=nightly; popd;
pushd crates/pagecache; cargo build --target $TARGET --features=nightly; popd;
;;
*)
cargo check;
cargo check --features=all;
Expand Down

0 comments on commit c8b246f

Please sign in to comment.