Mercurial > lbo > hg > leveldb-rs
view .travis.yml @ 511:778233f8ebba
Show CI badge in README
author | Lewin Bormann <lbo@spheniscida.de> |
---|---|
date | Mon, 17 Feb 2020 15:27:02 +0100 |
parents | d2ba412467c3 |
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