3f71040aec
I would like to keep continuous builds available, but the auto-deploy has triggered GitHub releases for every build, which is very confusing documentation. Also, Travis and other CI services, do not seem to want to offer a free tier any longer. Considering switching to running continuous build on my own hardware somehow.
24 lines
538 B
YAML
24 lines
538 B
YAML
language: rust
|
|
rust:
|
|
- stable
|
|
- beta
|
|
- nightly
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- rust: nightly
|
|
|
|
before_install:
|
|
- sudo apt-get -qq update
|
|
- sudo apt-get install -y musl-tools
|
|
|
|
script:
|
|
- rustup target add x86_64-unknown-linux-musl
|
|
- cargo test --target=x86_64-unknown-linux-musl
|
|
- cargo build --release --target=x86_64-unknown-linux-musl
|
|
- strip -s target/x86_64-unknown-linux-musl/release/sausagewiki
|
|
- XZ_OPT=-9 tar Jcf sausagewiki.tar.xz -C target/x86_64-unknown-linux-musl/release/ sausagewiki
|
|
|
|
branches:
|
|
except:
|
|
- "/^untagged-/"
|