third_party/rust/bitflags/.travis.yml
author Kevin Jones <kevinhowjones@gmail.com>
Fri, 28 Apr 2017 14:59:10 +0200
changeset 355543 2d9f2486307984ff18dd8f2f9aba96fcf6fc53c0
parent 340981 d300c689f52e788542909647d3ab05719a46bb85
child 357213 964f96b08cc65c87a432f84914fed12a04aab052
permissions -rw-r--r--
Bug 1360323 - Implement getTabBrowser shim for lazy browsers. r=dao MozReview-Commit-ID: 5KTJKegwBNG

language: rust
rust:
  - stable
  - beta
  - nightly
sudo: false
script:
  - cargo build --verbose
  - cargo test --verbose
  - cargo doc
after_success: |
  [ $TRAVIS_BRANCH = master ] &&
  [ $TRAVIS_PULL_REQUEST = false ] &&
  [ $TRAVIS_RUST_VERSION = nightly ] &&
  echo '<meta http-equiv=refresh content=0;url=bitflags/index.html>' > target/doc/index.html &&
  pip install ghp-import --user $USER &&
  $HOME/.local/bin/ghp-import -n target/doc &&
  git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
env:
  global:
    secure: d+l63TtlF6cfFVDGauYRexgx4lBww4ORqqK4Vt75nWbiCbjZYsKXbcTUdhAr193nIVGiNW50A8SekM01F3EngHwHwr6u5kFleOggm+HA0kkBVeX+k2A4WCVVfYI+gth+zk99WaF8h46MA0evhx6FYDoqeyl9oqmVifI4kaqhMwc=
notifications:
  email:
    on_success: never