2017-08-21 17:08:22 +03:00
|
|
|
language: rust
|
|
|
|
rust:
|
2017-09-22 17:40:49 +03:00
|
|
|
- stable
|
|
|
|
- beta
|
|
|
|
- nightly
|
2017-08-21 17:08:22 +03:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
2017-09-22 17:11:21 +03:00
|
|
|
- rust: nightly
|
|
|
|
|
2017-09-22 17:45:41 +03:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get -qq update
|
|
|
|
- sudo apt-get install -y musl-tools
|
|
|
|
|
2017-09-22 17:11:21 +03:00
|
|
|
script:
|
2017-09-22 17:40:49 +03:00
|
|
|
- rustup target add x86_64-unknown-linux-musl
|
2018-05-21 14:50:51 +03:00
|
|
|
- cargo test --target=x86_64-unknown-linux-musl
|
2017-09-22 17:11:21 +03:00
|
|
|
- cargo build --release --target=x86_64-unknown-linux-musl
|
2017-10-15 14:13:07 +03:00
|
|
|
- strip -s target/x86_64-unknown-linux-musl/release/sausagewiki
|
2017-11-30 14:33:07 +03:00
|
|
|
- XZ_OPT=-9 tar Jcf sausagewiki.tar.xz -C target/x86_64-unknown-linux-musl/release/ sausagewiki
|
2017-09-22 17:11:21 +03:00
|
|
|
|
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- "/^untagged-/"
|