Skip to content

Commit ced34d2

Browse files
author
Alexander Polyakov
committed
Enable x86-64 musl build on travis
1 parent 17b6be1 commit ced34d2

File tree

1 file changed

+24
-9
lines changed

1 file changed

+24
-9
lines changed

.travis.yml

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,24 @@
11
language: rust
2-
cache:
3-
directories:
4-
- $HOME/.cargo
5-
rust:
6-
- stable
7-
- beta
8-
- nightly
2+
matrix:
3+
include:
4+
- os: linux
5+
rust: stable
6+
env: TARGET=x86_64-unknown-linux-gnu
7+
- os: linux
8+
rust: beta
9+
env: TARGET=x86_64-unknown-linux-gnu
10+
- os: linux
11+
rust: nightly
12+
env: TARGET=x86_64-unknown-linux-gnu
13+
- os: linux
14+
rust: stable
15+
env: TARGET=x86_64-unknown-linux-musl
16+
- os: linux
17+
rust: beta
18+
env: TARGET=x86_64-unknown-linux-musl
19+
- os: linux
20+
rust: nightly
21+
env: TARGET=x86_64-unknown-linux-musl
922
notifications:
1023
irc:
1124
channels:
@@ -14,5 +27,7 @@ notifications:
1427
script:
1528
- |
1629
git clone --depth=1 https://github.com/luigirizzo/netmap &&
17-
cargo build --verbose && cargo test --verbose &&
18-
cargo build --features netmap_with_libs && cargo test --features netmap_with_libs
30+
cargo build --target=$TARGET --verbose &&
31+
cargo test --target=TARGET --verbose &&
32+
cargo build --target=$TARGET --features netmap_with_libs &&
33+
cargo test --target=$TARGET --features netmap_with_libs

0 commit comments

Comments
 (0)