Skip to content

Commit

Permalink
Automatically deploy master to github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Olof Kraigher committed Jul 10, 2017
1 parent 49e46d0 commit 35fdc4d
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
language: python

install:
- pip install tox

script:
- tox -e $BUILD_NAME

matrix:
include:
- env: BUILD_NAME=py27-unit
Expand Down Expand Up @@ -63,8 +70,19 @@ matrix:
- cd ../../
- export PATH=$PATH:install-ghdl-llvm/bin/

install:
- pip install tox

script:
- tox -e $BUILD_NAME
# Deploy to GitHub pages
- stage: deploy
python: '3.6'
script:
- tox -e py36-docs
- touch .tox/py36-docs/tmp/docsbuild/.nojekyll
deploy:
provider: pages
repo: VUnit/VUnit.github.io
target_branch: master
local_dir: .tox/py36-docs/tmp/docsbuild/
# This environment variable is set to an OAuth token in travis vunit settings
github_token: $GITHUB_PAGES_TOKEN
skip_cleanup: true
on:
branch: master

0 comments on commit 35fdc4d

Please sign in to comment.