view .travis.yml @ 63:b059e13e867a

Remove coverage from Travis CI configuration
author Lewin Bormann <lbo@spheniscida.de>
date Sun, 16 Feb 2020 21:16:19 +0100
parents ce9f8785cc88
children b3aba9007285
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