view .travis.yml @ 512:bbc3c3ec2080

Remove unnecessary packages from travis CI config
author Lewin Bormann <lbo@spheniscida.de>
date Mon, 17 Feb 2020 15:29:00 +0100
parents d2ba412467c3
children a32463dc4cb2
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