view .travis.yml @ 550:faa58d765e30

#13: fix memory leak in LRUList. The blockcache tests are now leak-free
author Lewin Bormann <lbo@spheniscida.de>
date Sun, 06 Mar 2022 21:42:34 +0100
parents ddd1e4e8d531
children
line wrap: on
line source

os:
  - linux
  - osx
    # Windows is troublesome and useless
    #  - windows
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
  - examples/build_examples.sh

jobs:
  include:
    - stage: lint
      if: os = linux
      rust: stable
      install:
        - rustup component add rustfmt
      script:
        - cargo fmt --all -- --check

cache: cargo