.travis.yml 585 B

123456789101112131415161718192021222324252627282930
  1. language: rust
  2. rust:
  3. - stable
  4. - beta
  5. - nightly
  6. matrix:
  7. allow_failures:
  8. - rust: nightly
  9. os: osx
  10. sudo: false
  11. before_install:
  12. # - brew install libquantum --devel
  13. - cargo update
  14. after_success:
  15. - cargo install mdbook
  16. - cargo doc
  17. - mkdir -p pages/docs pages/book
  18. - cp -R target/doc pages/
  19. - cd book && mdbook build
  20. - cp -R book ../pages/
  21. deploy:
  22. provider: pages
  23. skip-cleanup: true
  24. github-token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure
  25. keep-history: true
  26. local-dir: pages
  27. on:
  28. branch: master
  29. rust: stable