forked from nannou-org/nannou
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
37 lines (30 loc) · 689 Bytes
/
Copy path.travis.yml
File metadata and controls
37 lines (30 loc) · 689 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
35
36
language: rust
addons:
apt:
packages:
- libasound2-dev
- libxcb-composite0-dev
matrix:
include:
- name: "Test nightly"
rust: nightly
- name: "Test beta"
rust: beta
- name: "Test stable"
rust: stable
- name: "Validate doc"
rust: stable
script:
- cargo doc --no-deps -v
before_script:
- |
if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then
rustup component add rustfmt
fi
script:
- |
if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then
cargo fmt --all -- --check
fi
- cargo build -v
- cargo test -v