diff --git a/.travis.yml b/.travis.yml index af4bb49f..3e4473e6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,20 @@ -language: minimal +language: python + +python: + - "3.6" services: - docker +install: + - pip install mkdocs mkdocs-material + script: - docker build --target=builder . +before_deploy: + - mkdocs build --verbose --clean + deploy: - provider: script script: tools/cd.sh travis-${TRAVIS_BUILD_NUMBER} @@ -16,3 +25,10 @@ deploy: script: tools/cd.sh ${TRAVIS_TAG} on: tags: true + + - provider: pages + skip_cleanup: true + github_token: $GITHUB_TOKEN + local_dir: site + on: + branch: master