view .travis.yml @ 72:f056393c3536

Remove unnecessary package installs from Travis CI config
author Lewin Bormann <lbo@spheniscida.de>
date Mon, 17 Feb 2020 15:29:38 +0100
parents b3aba9007285
children
line wrap: on
line source

os:
  - linux
  - osx
dist: bionic
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 rustfmt
      script:
        - cargo fmt --all -- --check

cache: cargo