view .travis.yml @ 509:d2ba412467c3

Remove coverage from Travis CI config
author Lewin Bormann <lbo@spheniscida.de>
date Sun, 16 Feb 2020 21:15:52 +0100
parents 697925eecf6c
children bbc3c3ec2080
line wrap: on
line source

os:
  - linux
  - osx
dist: bionic
sudo: false
addons:
  apt:
    packages:
      # necessary for kcov
      - libcurl4-openssl-dev
      - libelf-dev
      - libdw-dev
      - libiberty-dev
      - binutils-dev
      - cmake
      - gcc

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