-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.travis.yml
47 lines (43 loc) · 1.04 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
language: rust
rust:
- stable
- beta
- nightly
arch:
- amd64
- arm64
- ppc64le
cache:
directories:
- /home/travis/.rustup
- /home/travis/.cargo
- /home/travis/target
addons:
apt:
packages:
- cmake
- libssl-dev
- pkg-config
- zlib1g-dev
install:
- rustup update
- mkdir -p .cargo
- echo '[build]' > .cargo/config
- echo 'target-dir = "/home/travis/target"' >> .cargo/config
matrix:
include:
- name: Clippy
arch: amd64
rust: stable
env: CLIPPY=1
install:
- rustup component add clippy; true
script: cargo clippy -- -D warnings
- name: Coveralls
arch: amd64
rust: nightly
install:
- cargo install cargo-tarpaulin; true
script: |
cargo tarpaulin --ignore-tests --run-types Tests --run-types Doctests \
--exclude-files 'fuzz/*' --coveralls $TRAVIS_JOB_ID --ciserver travis-ci