Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable x86-64 musl build on travis #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 24 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
language: rust
cache:
directories:
- $HOME/.cargo
rust:
- stable
- beta
- nightly
matrix:
include:
- os: linux
rust: stable
env: TARGET=x86_64-unknown-linux-gnu
- os: linux
rust: beta
env: TARGET=x86_64-unknown-linux-gnu
- os: linux
rust: nightly
env: TARGET=x86_64-unknown-linux-gnu
- os: linux
rust: stable
env: TARGET=x86_64-unknown-linux-musl
- os: linux
rust: beta
env: TARGET=x86_64-unknown-linux-musl
- os: linux
rust: nightly
env: TARGET=x86_64-unknown-linux-musl
notifications:
irc:
channels:
Expand All @@ -14,5 +27,7 @@ notifications:
script:
- |
git clone --depth=1 https://github.com/luigirizzo/netmap &&
cargo build --verbose && cargo test --verbose &&
cargo build --features netmap_with_libs && cargo test --features netmap_with_libs
cargo build --target=$TARGET --verbose &&
cargo test --target=$TARGET --verbose &&
cargo build --target=$TARGET --features netmap_with_libs &&
cargo test --target=$TARGET --features netmap_with_libs