forked from gwihlidal/vk-mem-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (34 loc) · 931 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
sudo: false
cache: cargo
matrix:
allow_failures:
- rust: nightly
fast_finish: true
include:
- rust: stable
- name: "Clippy"
rust: nightly
before_script: rustup component add clippy-preview
script: cargo clippy --all
- name: "rustfmt"
rust: stable
before_script: rustup component add rustfmt-preview
script: cargo fmt --all -- --check
- name: "warnings"
rust: stable
script: cargo check --all
- name: "release"
rust: stable
script:
- cargo build --verbose --all --release
#- cargo test --verbose --all --release
- cargo doc --verbose --all --release
- os: osx
osx_image: xcode10
- os: windows
script:
- cargo build --all --verbose
- cargo build --all --verbose --no-default-features
#- cargo test --all --verbose
- cargo doc --all --verbose