third_party/rust/log-0.3.6/.travis.yml
author Nick Fitzgerald <fitzgen@gmail.com>
Fri, 01 Sep 2017 16:43:16 -0700
changeset 378421 a8ae266cd61eb004d4f74a989e4d9c6d2ceb5b93
parent 340902 third_party/rust/log/.travis.yml@d300c689f52e788542909647d3ab05719a46bb85
permissions -rw-r--r--
Bug 1277338 - Part 13: Update vendored crates for newer `js` crate; r=sfink

language: rust
sudo: false
rust:
  - stable
  - beta
  - nightly
script:
  - cargo build --verbose
  - ([ $TRAVIS_RUST_VERSION != nightly ] || cargo build --verbose --no-default-features)
  - ([ $TRAVIS_RUST_VERSION != nightly ] || cargo build --verbose --features nightly)
  - cargo test --verbose
  - ([ $TRAVIS_RUST_VERSION != nightly ] || cargo test --verbose --no-default-features)
  - cargo test --verbose --manifest-path env/Cargo.toml
  - cargo run --verbose --manifest-path tests/max_level_features/Cargo.toml
  - cargo run --verbose --manifest-path tests/max_level_features/Cargo.toml --release
  - ([ $TRAVIS_RUST_VERSION != nightly ] || cargo doc --no-deps --features nightly)
  - CARGO_TARGET_DIR=target cargo doc --no-deps --manifest-path env/Cargo.toml
after_success: |
  [ $TRAVIS_BRANCH = master ] &&
  [ $TRAVIS_PULL_REQUEST = false ] &&
  [ $TRAVIS_RUST_VERSION = nightly ] &&
  echo '<meta http-equiv=refresh content=0;url=log/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: bNUxFmA5uEdKKdVDtgb+5WQuMRDZ6QxK5152sIZWSimxyr/x5erNZ1uacPh02Ng92dbUQ66wz90WPmqTwoL0EeJ/FmZDd29hRHXe82MNpz47QX3cGMgFNldQ2GmJmCHBXKu373B80o/ZB+BTVcYcl1ksTXuIhQg2wZtXh8bZ9F4=
notifications:
  email:
    on_success: never