aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 7561183dfab1aa60c11339d460fa26b537e3b558 (plain)
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
language: rust

matrix:
  include:
    - rust: stable
      script:
        - cargo gen-kinds --verify
        - cargo gen-tests --verify
        - cargo test
    # - rust: nightly
    #   before_script:
    #     - rustup component add clippy-preview
    #     - rustup component add rustfmt-preview
    #   script:
    #     - cargo fmt --all -- --check || true
    #     - cargo clippy

  allow_failures:
    - rust nightly

branches:
  only:
    - staging
    - master
    - trying