diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..8df922446 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,13 @@ +language: rust +rust: + - stable + - nightly + +branches: + except: + - staging.tmp + +before_install: + # Do not run bors builds against the nightly compiler. + # We want to find out about nightly bugs, so they're done in master, but we don't block on them. + - if [[ $TRAVIS_RUST_VERSION == "nightly" && $TRAVIS_BRANCH == "staging" ]]; then exit; fi diff --git a/README.md b/README.md index b3755bdc1..fce07ab83 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # WebGPU-native +[![Build Status](https://travis-ci.org/gfx-rs/wgpu-native.svg)](https://travis-ci.org/gfx-rs/wgpu-native) +[![Gitter](https://badges.gitter.im/gfx-rs/gfx.svg)](https://gitter.im/gfx-rs/gfx) This is an experimental [WebGPU](https://www.w3.org/community/gpu/) implementation as a native static library. It's written in Rust and is based on [gfx-hal](https://github.com/gfx-rs/gfx) and [satellite](https://github.com/gfx-rs/gfx-memory) libraries. The corresponding WebIDL specification can be found at [gpuweb project](https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl). diff --git a/bors.toml b/bors.toml new file mode 100644 index 000000000..11903dacd --- /dev/null +++ b/bors.toml @@ -0,0 +1,6 @@ +status = [ + "continuous-integration/travis-ci/push", + #"continuous-integration/appveyor/branch" +] + +timeout_sec = 18000 # 5 hours diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 000000000..e6067ba19 --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1 @@ +newline_style = "Native"