-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
34 lines (34 loc) · 782 Bytes
/
.travis.yml
File metadata and controls
34 lines (34 loc) · 782 Bytes
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
sudo: true
language: rust
cache: cargo
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- binutils-dev
- cmake
- postfix
sources:
- kalakris-cmake
rust:
- nightly
os:
- linux
before_script:
- export PATH=$HOME/.cargo/bin:$PATH
- rustup component add rustfmt-preview
- rustup component add clippy-preview
- cargo install cargo-update || echo "cargo-update already installed"
- cargo install cargo-travis || echo "cargo-travis already installed"
- cargo install-update -a # update outdated cached binaries
script:
- cargo fmt --all -- --check
- cargo build
- cargo test --all
- cargo bench --all
- cargo doc -p js_parser
after_success:
- cargo coveralls --all
- cargo doc-upload --branch master