forked from ryanisaacg/quicksilver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (42 loc) · 911 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
39
40
41
42
language: rust
os:
- linux
- osx
- windows
addons:
apt:
packages:
- libasound2-dev
- libudev-dev
- libssl-dev
env:
global:
- RUST_BACKTRACE=1
matrix:
- WASM=0
rust:
- stable
- nightly
matrix:
include:
- rust: stable
env: WASM=0
script:
- cargo check --examples --no-default-features
- rust: stable
env: WASM=1
install:
- rustup target add wasm32-unknown-unknown
- cargo install -f cargo-web
script:
- cargo web check --no-default-features
- bash check-web-examples.sh
allow_failures:
- rust: nightly
fast_finish: true
after_success: |
if [[ "$TRAVIS_RUST_VERSION" == "nightly" && "$TRAVIS_OS_NAME" == "linux" ]] ; then
RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin
cargo tarpaulin --out Xml
bash <(curl -s https://codecov.io/bash)
fi