forked from rust-bio/rust-htslib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (47 loc) · 1.4 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
language: rust
rust:
- stable
cache:
directories:
- /home/travis/.cargo
before_cache:
- rm -rf /home/travis/.cargo/registry
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- libbz2-dev
- binutils-dev
- libiberty-dev
- cmake
- musl
- musl-dev
- musl-tools
sources:
- kalakris-cmake
before_script:
- export PATH=$HOME/.cargo/bin:$PATH
- cargo install cargo-update || echo "cargo-update already installed"
- cargo install cargo-travis || echo "cargo-travis already installed"
- cargo install-update -a
- rustup component add rustfmt
- rustup target add x86_64-unknown-linux-musl
script:
- cargo fmt --version
- cargo fmt -- --check
- cargo build --all-features
- cargo test --all-features
- cargo build --no-default-features
- cargo test --no-default-features
- cargo build --target x86_64-unknown-linux-musl --all-features
- cargo test --target x86_64-unknown-linux-musl --all-features
- cargo build --target x86_64-unknown-linux-musl --no-default-features
- cargo test --target x86_64-unknown-linux-musl --no-default-features
after_success:
- cargo coveralls
env:
global:
- secure: ioWAhmR9VNa96Zn3UvY46bzys5LY6rHezT/nxsX6Wc0tZ3s/pk45wRKl9mU+oX+29EXMl2EXZZzsUlmY9AWNS34uQdBJ5HB68k2l2Cl44f/R4fQiFbkucCaCuTLDDshRsQInHTrsIjiB0tvjCG1tkNWQlgDIB4yeqPcL+YrmeMs=
- RUST_BACKTRACE=1