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
|
|
|
|
2023-09-27 19:40:14 +03:00
|
|
|
arch:
|
|
|
|
- amd64
|
|
|
|
- arm64
|
|
|
|
|
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:
|
2023-09-27 19:40:14 +03:00
|
|
|
- TARGET=`[ $TRAVIS_CPU_ARCH == 'amd64' ] && echo x86_64 || echo aarch64`-unknown-linux-musl
|
|
|
|
- rustup target add $TARGET
|
|
|
|
- cargo test --target=$TARGET
|
|
|
|
- cargo build --release --target=$TARGET
|
|
|
|
- strip -s target/$TARGET/release/sausagewiki
|
|
|
|
- XZ_OPT=-9 tar Jcf sausagewiki-$TRAVIS_CPU_ARCH.tar.xz -C target/$TARGET/release/ sausagewiki
|
2017-09-22 17:11:21 +03:00
|
|
|
|
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- "/^untagged-/"
|