From 8488f8a5fd53b3555856f2d3745bf664c0d8d9b6 Mon Sep 17 00:00:00 2001 From: mitchmindtree Date: Wed, 31 Oct 2018 17:47:54 +0700 Subject: [PATCH 1/2] Add support for automated testing via Travis CI. This is useful for reducing the chance that new commits and pull requests don't break the project. Each time a new commit or PR is submitted, travis will check that they compile and that documentation can be generated and indicate whether or not the PR is safe to merge. --- .travis.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..6f3ec5e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,13 @@ +language: rust +addons: + apt: + packages: + - libasound2-dev +rust: + - nightly + - beta + - stable +script: + - cargo build -v + - cargo test -v + - cargo doc -v From 1c7a598c008b183176f812f997269bae61d0c7ba Mon Sep 17 00:00:00 2001 From: mitchmindtree Date: Wed, 31 Oct 2018 17:51:06 +0700 Subject: [PATCH 2/2] Add travis build result to README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5420620..1918871 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Spatial Audio Server +# Spatial Audio Server [![Build Status](https://travis-ci.org/museumsvictoria/spatial_audio_server.svg?branch=master)](https://travis-ci.org/museumsvictoria/spatial_audio_server) A cross-platform, n-channel spatial audio server developed by [MindBuffer](https://www.mindbuffer.net/) using the [Nannou Creative Coding