forked from Dhole/sodiumoxidez
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
54 lines (51 loc) · 1.06 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
os:
- linux
- osx
language: rust
rust:
- stable
- beta
- nightly
sudo: false
matrix:
include:
- name: fmt
os: linux
rust: stable
before_script:
- rustup component add rustfmt
script:
- cargo fmt --all -- --check
- name: clippy
os: linux
rust: stable
before_script:
- rustup component add clippy
script:
- cargo clippy --all --tests
- name: coverage
os: linux
rust: stable
sudo: required
addons: # needed for `cargo install cargo-travis`
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- binutils-dev
- cmake
sources:
- kalakris-cmake
script:
- cargo install cargo-travis --debug || echo "cargo-travis has been already installed"
- mkdir target # fix for cargo-coveralls
- cargo coveralls
script:
- cargo build --verbose
- cargo test --verbose --all
- cargo test --verbose --no-default-features --features std
- cargo doc
branches:
except:
- /.*(.tmp)$/