File: .travis.yml

package info (click to toggle)
rust-globwalk 0.8.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 220 kB
  • sloc: makefile: 2
file content (39 lines) | stat: -rw-r--r-- 789 bytes parent folder | download
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
sudo: false
language: rust
rust:
  - 1.31.0  # Oldest supported
  - stable
  - beta
  - nightly
matrix:
  include:
  - env: RUSTFMT
    rust: 1.31.0  # `stable`: Locking down for consistent behavior
    install:
    - rustup component add rustfmt-preview
    script:
    - cargo fmt -- --check
  - env: RUSTFLAGS="-D warnings"
    rust: 1.31.0  # `stable`: Locking down for consistent behavior
    script:
    - cargo check --tests
  - env: CLIPPY
    rust: 1.41.0
    install:
      - rustup component add clippy
    script:
      - cargo clippy --all-features -- -D clippy::all
  allow_failures:
    - rust: nightly
  fast_finish: true

install:
- rustc -Vv
- cargo -V

script:
- rm -rf target/debug/deps/*globwalk*  # Avoid rustdoc problems
- cargo test --verbose

cache:
  cargo: true