view .travis.yml @ 43:9ffa6f545865 default tip

Increase repeats in benchmarks
author Lewin Bormann <lewin@lewin-bormann.info>
date Sun, 23 Feb 2020 18:03:21 +0100
parents 2788bffa8d0d
children
line wrap: on
line source

os:
  - linux
  - osx
dist: xenial
sudo: false
language: rust
rust:
  - stable
  - nightly

stages:
  - name: test
  - name: lint

install: true

# Default script is the "test" stage
script: 
  - cargo build
  - cargo test

jobs:
  include:
    - stage: lint
      if: os = linux
      rust: stable
      install:
        - rustup component add clippy
        - rustup component add rustfmt
      script:
        - cargo fmt --all -- --check
        - cargo clippy --all-targets --all-features -- -D warnings || true

cache: cargo