surwiki/.travis.yml

25 lines
538 B
YAML
Raw Permalink Normal View History

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:
- rust: nightly
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y musl-tools
script:
2017-09-22 17:40:49 +03:00
- 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-/"