language: rust install: - sudo pip install ghp-import script: - cargo test - cargo bench - cargo doc --no-deps after_success: | echo '' > target/doc/index.html &&\ ghp-import -n target/doc &&\ git remote set-url origin https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git &&\ git push -f origin gh-pages