view .travis.yml @ 526:79e0bbc4f604

replace libc usage with fs2, support windows
author João Oliveira <hello@jxs.pt>
date Mon, 18 May 2020 23:43:14 +0100
parents a32463dc4cb2
children dd122e4ef0d8
line wrap: on
line source

os:
  - linux
  - osx
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