view .travis.yml @ 555:bdff7d154b55

Added tag v1.0 for changeset 1a7d1eba51bc
author Lewin Bormann <lbo@spheniscida.de>
date Thu, 30 Jun 2022 21:11:09 -0700
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