blob: 87d15bf9c86933d0cd4477cbb2fe8bf877672d08 [file] [log] [blame]
Alex Crichton68fe98b2015-01-13 07:53:42 -08001language: rust
2sudo: false
3before_install:
4 - git submodule update --init --recursive
5script:
6 - cargo build --verbose
7 - cargo test --verbose
8 - cargo doc --verbose
9after_success: |
10 [ $TRAVIS_BRANCH = master ] &&
11 [ $TRAVIS_PULL_REQUEST = false ] &&
12 echo '<meta http-equiv=refresh content=0;url=libc/index.html>' > target/doc/index.html &&
13 pip install ghp-import --user $USER &&
14 $HOME/.local/bin/ghp-import -n target/doc &&
15 git push -fq https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
16
17env:
18 global:
19 secure: MZGg+symX6/fcY7TsQ1LkJ28V/CUevNZgs3MiilgvnlgTjqn7BU7gbTvwhLdVZq04/EQ1hTeVzrFGpBfcCUVHYKmP2vooEFJJ+bDGEvyD8ChwCB4nV+NmxF5+NwCi3+Y+0pBgKbt2BasJ+MXkGJpRyFozis6loMWbXTzZzL9jjU=
20notifications:
21 email:
22 on_success: never