diff options
author | Alex Crichton <alex@alexcrichton.com> | 2015-01-13 07:53:42 -0800 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2015-01-13 08:22:00 -0800 |
commit | 68fe98bde28835af78a1bd87d10fdcb1698d4e5f (patch) | |
tree | d8ae9824ad281adc99665a175c40b6e3139b1b44 /.travis.yml | |
download | rust-libc-68fe98bde28835af78a1bd87d10fdcb1698d4e5f.tar.gz |
Initial commit
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..87d15bf9c8 --- /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 |