forked from cobalt-org/liquid-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (33 loc) · 921 Bytes
/
.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
sudo: false
language: rust
cache: cargo
rust:
- stable
- beta
- nightly
before_script:
- |
pip install 'travis-cargo<0.2' --user &&
(cargo install --git https://github.com/rust-lang-nursery/rustfmt || true) &&
export PATH=$HOME/.local/bin:$PATH &&
export PATH=$HOME/.cargo/bin:$PATH
script:
- |
cargo fmt -- --write-mode=diff &&
travis-cargo build &&
travis-cargo test &&
travis-cargo --only stable doc
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
after_success:
- travis-cargo --only stable doc-upload
- rm tests/skeptic.rs # "skip" skeptic doctests for coverage
- travis-cargo --only stable coveralls --no-sudo
env:
global:
- TRAVIS_CARGO_NIGHTLY_FEATURE="clippy"
- secure: FGosPYxgSM1Csyy2q/OiSW2KA7IDlIlLTODxwgszP/MIwOIMobAs5f+IqrEngEi3zKa0IPahQ3DZMZFAaNw9e1gI90ZQKpYgDQHNPeCtO0q4OV94RAjAFqhqVPxXwmNug88tm3NMokzzOafosWD8AzL7dYAx63KBpgCNZteW6CM=