Skip to content

Commit 6d77b7f

Browse files
committed
Fix CI for musl builds, musl builds now run but will not cause a build failure if they do not succeed
1 parent 0b88b04 commit 6d77b7f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ matrix:
2727
packages:
2828
- nodejs
2929
- npm
30+
- os: linux
31+
env: TARGET=x86_64-unknown-linux-musl CHANNEL=stable
3032
# Beta channel
3133
- os: osx
3234
env: TARGET=i686-apple-darwin CHANNEL=beta
@@ -39,6 +41,8 @@ matrix:
3941
env: TARGET=x86_64-apple-darwin CHANNEL=beta
4042
- os: linux
4143
env: TARGET=x86_64-unknown-linux-gnu CHANNEL=beta
44+
- os: linux
45+
env: TARGET=x86_64-unknown-linux-musl CHANNEL=beta
4246
# Nightly channel
4347
- os: osx
4448
env: TARGET=i686-apple-darwin CHANNEL=nightly
@@ -51,6 +55,8 @@ matrix:
5155
env: TARGET=x86_64-apple-darwin CHANNEL=nightly
5256
- os: linux
5357
env: TARGET=x86_64-unknown-linux-gnu CHANNEL=nightly
58+
- os: linux
59+
env: TARGET=x86_64-unknown-linux-musl CHANNEL=nightly
5460

5561
# Musl builds fail due to a bug in Rust (https://github.com/azerupi/mdBook/issues/158)
5662
allow_failures:

0 commit comments

Comments
 (0)