You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
692 B

  1. language: scala
  2. dist: xenial
  3. install:
  4. - rvm use 2.3.0 --install --fuzzy
  5. - gem update --system
  6. - gem install sass
  7. - gem install jekyll -v 3.2.1
  8. scala:
  9. - 2.12.8
  10. jobs:
  11. include:
  12. - stage: verify
  13. script:
  14. - sbt ++$TRAVIS_SCALA_VERSION router/fullOptJS::webpack
  15. - sbt docs/mdoc
  16. - sbt docs/makeMicrosite
  17. - mkdir -p router-docs/site
  18. - cp -R router-docs/target/site/* ./router-docs/site/
  19. deploy:
  20. provider: pages
  21. skip-cleanup: true
  22. github-token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
  23. keep-history: true
  24. local-dir: router-docs/site
  25. target-branch: gh-pages
  26. on:
  27. branch: master