language: rust
env:
  global:
    secure: m/9uIj9YUvDtVj4qelwVCYzXbaJ3M+zqeazDXDrvClIB6CSt1PaPxcKSdcUPm74+9CBKBX6XRxjz8M1Dgtu1nHPfP8BzcyAgXcpGYpBkIW1cjcwi6p9LRQS7Dg3VWZlAgSvEqEDSOLjCxtmtQ2Spea4CrLfq2nsO2O86hbSsi6M=
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libmagic1 libmagic-dev
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=magic-sys/index.html>' > target/doc/index.html &&
  sudo pip install ghp-import &&
  ghp-import -n target/doc &&
  git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages

language: rust
env:
  global:
    secure: m/9uIj9YUvDtVj4qelwVCYzXbaJ3M+zqeazDXDrvClIB6CSt1PaPxcKSdcUPm74+9CBKBX6XRxjz8M1Dgtu1nHPfP8BzcyAgXcpGYpBkIW1cjcwi6p9LRQS7Dg3VWZlAgSvEqEDSOLjCxtmtQ2Spea4CrLfq2nsO2O86hbSsi6M=
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libmagic1 libmagic-dev
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=magic_sys/index.html>' > target/doc/index.html &&
  sudo pip install ghp-import &&
  ghp-import -n target/doc &&
  git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages

Fix link to rustdoc in Travis config
Fix link to rustdoc in Travis config
