2019-02-01 16:21:07 +00:00
|
|
|
language: scala
|
2019-06-05 23:17:34 +00:00
|
|
|
dist: xenial
|
2019-02-01 16:21:07 +00:00
|
|
|
install:
|
|
|
|
- rvm use 2.3.0 --install --fuzzy
|
|
|
|
- gem update --system
|
|
|
|
- gem install sass
|
|
|
|
- gem install jekyll -v 3.2.1
|
|
|
|
|
|
|
|
scala:
|
|
|
|
- 2.12.8
|
2019-06-05 23:17:34 +00:00
|
|
|
|
2019-02-01 16:21:07 +00:00
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
- stage: verify
|
|
|
|
|
|
|
|
script:
|
2019-02-01 20:25:58 +00:00
|
|
|
- sbt ++$TRAVIS_SCALA_VERSION router/fullOptJS::webpack
|
2019-02-01 16:21:07 +00:00
|
|
|
- sbt docs/mdoc
|
|
|
|
- sbt docs/makeMicrosite
|
2019-02-01 20:25:58 +00:00
|
|
|
- mkdir -p router-docs/site
|
2019-02-01 16:21:07 +00:00
|
|
|
- cp -R router-docs/target/site/* ./router-docs/site/
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: pages
|
|
|
|
skip-cleanup: true
|
|
|
|
github-token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
|
|
|
|
keep-history: true
|
|
|
|
local-dir: router-docs/site
|
|
|
|
target-branch: gh-pages
|
|
|
|
on:
|
2019-06-05 23:17:34 +00:00
|
|
|
branch: master
|