aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2016-11-14 20:16:01 -0800
committerAustin Hellyer <[email protected]>2016-11-14 20:16:01 -0800
commitb0125c4bdf718e2e7558884544166cfff44657ef (patch)
treebefbfbc86e386b9ca748c4d65d6b2ada56adf785
parentAdd voice connection support (diff)
downloadserenity-b0125c4bdf718e2e7558884544166cfff44657ef.tar.xz
serenity-b0125c4bdf718e2e7558884544166cfff44657ef.zip
Travis: Pass feature flag 'voice'
-rw-r--r--.travis.yml2
-rw-r--r--Cargo.toml1
-rw-r--r--examples/07_voice.rs2
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
diff --git a/Cargo.toml b/Cargo.toml
index 91acf63..20f3003 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -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};