forked from dfrankland/bluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
28 lines (28 loc) · 794 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
branches:
only:
- master
language: rust
cache:
cargo: true
matrix:
include:
# https://docs.travis-ci.com/user/reference/osx/#os-x-version
- os: osx # 10.13
osx_image: xcode10
- os: osx # 10.13
osx_image: xcode9.4
- os: linux # 14.04
dist: trusty
addons:
apt:
packages:
- libdbus-1-dev
before_install:
- rustup component add clippy || cargo install --git https://github.com/rust-lang/rust-clippy/ --force clippy
- rustup component add rustfmt || cargo install --git https://github.com/rust-lang/rustfmt/ --force rustfmt
script:
- cargo build
# TODO: Make testing work for CI
# - cargo test --verbose -- --nocapture
- cargo clippy --all-targets --all-features -- -D warnings
- cargo fmt --all -- --check