diff options
author | Justin Worthe <justin@worthe-it.co.za> | 2017-07-08 13:39:43 +0200 |
---|---|---|
committer | Justin Worthe <justin@worthe-it.co.za> | 2017-07-08 13:39:43 +0200 |
commit | dac54d0e4345e52ce18a802b0ee22e6bb8696f9a (patch) | |
tree | fb387e60ff37855241acb3bdb2e3002441aad20e | |
parent | 7a256d93001457a4407807f6d78955cc5e2ca4d1 (diff) |
Ignored audio device unit tests because Travis doesn't have audio devices
-rw-r--r-- | .travis.yml | 5 | ||||
-rw-r--r-- | src/audio.rs | 1 |
2 files changed, 2 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 9c22ce1..3ff3bb0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,4 @@ addons: packages: - libgtk-3-bin - libgtk-3-dev - - libpango1.0-0 -before_install: - - sudo apt-get install libasound2-dev alsa-utils alsa-oss - - sudo modprobe snd-dummy
\ No newline at end of file + - libpango1.0-0
\ No newline at end of file diff --git a/src/audio.rs b/src/audio.rs index 0c85666..ffaa6ff 100644 --- a/src/audio.rs +++ b/src/audio.rs @@ -64,6 +64,7 @@ pub fn start_listening(pa: &pa::PortAudio, device_index: u32, } #[test] +#[ignore] //ignored because TravisCI doesn't have any audio devices to test with fn start_listening_returns_successfully() { // Just a note on unit tests here, portaudio doesn't seem to // respond well to being initialized many times, and starts |