diff --git a/Cargo.toml b/Cargo.toml
index 9427da76cf27837c763e40f6cc13dc911d75d937..ac9c1618ebf1856f376d2b6b98cf180090772dd3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -13,6 +13,7 @@ A library for types and bindings to native C functions often found in libc or
 other common platform libraries.
 """
 build = "build.rs"
+exclude = ["/ci/*", "/.travis.yml", "/appveyor.yml"]
 
 [badges]
 travis-ci = { repository = "rust-lang/libc" }