diff options
| author | Austin Hellyer <[email protected]> | 2016-11-14 20:16:01 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2016-11-14 20:16:01 -0800 |
| commit | b0125c4bdf718e2e7558884544166cfff44657ef (patch) | |
| tree | befbfbc86e386b9ca748c4d65d6b2ada56adf785 | |
| parent | Add voice connection support (diff) | |
| download | serenity-b0125c4bdf718e2e7558884544166cfff44657ef.tar.xz serenity-b0125c4bdf718e2e7558884544166cfff44657ef.zip | |
Travis: Pass feature flag 'voice'
| -rw-r--r-- | .travis.yml | 2 | ||||
| -rw-r--r-- | Cargo.toml | 1 | ||||
| -rw-r--r-- | examples/07_voice.rs | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 439c876..8609c1f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,4 +12,4 @@ cache: - $HOME/.cargo script: - - cargo build + - cargo build --features voice @@ -81,6 +81,5 @@ path = "./examples/06_command_framework.rs" [[bin]] doc = false -features = ["voice"] name = "example-07" path = "./examples/07_voice.rs" diff --git a/examples/07_voice.rs b/examples/07_voice.rs index d4357c2..1dddb49 100644 --- a/examples/07_voice.rs +++ b/examples/07_voice.rs @@ -1,3 +1,5 @@ +// Requires the feature "voice" be enabled. + extern crate serenity; use serenity::client::{STATE, Client, Context}; |