view .travis.yml @ 632:d0f9898c881f default tip master

Added tag v3.0.0 for changeset 685df78c5778
author Lewin Bormann <lbo@spheniscida.de>
date Thu, 14 Sep 2023 21:54:10 +0200
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