Initial commit
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..87d15bf
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,22 @@
+language: rust
+sudo: false
+before_install:
+ - git submodule update --init --recursive
+script:
+ - cargo build --verbose
+ - cargo test --verbose
+ - cargo doc --verbose
+after_success: |
+ [ $TRAVIS_BRANCH = master ] &&
+ [ $TRAVIS_PULL_REQUEST = false ] &&
+ echo '<meta http-equiv=refresh content=0;url=libc/index.html>' > target/doc/index.html &&
+ pip install ghp-import --user $USER &&
+ $HOME/.local/bin/ghp-import -n target/doc &&
+ git push -fq https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
+
+env:
+ global:
+ secure: MZGg+symX6/fcY7TsQ1LkJ28V/CUevNZgs3MiilgvnlgTjqn7BU7gbTvwhLdVZq04/EQ1hTeVzrFGpBfcCUVHYKmP2vooEFJJ+bDGEvyD8ChwCB4nV+NmxF5+NwCi3+Y+0pBgKbt2BasJ+MXkGJpRyFozis6loMWbXTzZzL9jjU=
+notifications:
+ email:
+ on_success: never