aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: b3134fd0429cdf8c2b21934292dafa001d5b62ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
language: rust

matrix:
  include:

    - rust: nightly-2018-01-26
      before_script:
        - rustup component add rustfmt-preview
      script:
        - cargo fmt -- --write-mode=diff

    - rust: stable
      script:
        - cargo test

branches:
  only:
    - staging
    - master
    - trying