First pass at CI support (#1)

* First pass at CI support

* Fix MSRV (required by wgpu)

* Winit requires MSRV 1.36.0 on Linux, add rustfmt to CI, add CI badge to README

* Don't forget to install rustfmt
This commit is contained in:
Jay Oster 2019-10-03 22:59:54 -07:00 committed by GitHub
parent 300b51a342
commit 7a858089bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 0 deletions

22
.travis.yml Normal file
View file

@ -0,0 +1,22 @@
language: rust
rust:
# MSRV
- 1.36.0
# All of the latest release channels
- stable
- beta
- nightly
cache: cargo
matrix:
fast_finish: true
before_script:
- rustup component add rustfmt
script:
- cargo build
- cargo test
- cargo fmt --all -- --check

View file

@ -1,3 +1,5 @@
[![Build Status](https://travis-ci.org/parasyte/pixels.svg?branch=master)](https://travis-ci.org/parasyte/pixels)
![Pixels Logo](img/pixels.png)
A tiny hardware-accelerated pixel frame buffer. :crab: