36 lines
1.5 KiB
YAML
36 lines
1.5 KiB
YAML
|
sudo: false
|
||
|
language: python
|
||
|
matrix:
|
||
|
fast_finish: true
|
||
|
include:
|
||
|
- python: 2.7
|
||
|
env: TOXENV=py27
|
||
|
- python: 3.3
|
||
|
env: TOXENV=py33
|
||
|
- python: 3.4
|
||
|
env: TOXENV=py34
|
||
|
- python: 3.5
|
||
|
env: TOXENV=py35
|
||
|
install:
|
||
|
- pip install tox
|
||
|
script:
|
||
|
- git clean -f -d -x
|
||
|
- tox
|
||
|
deploy:
|
||
|
provider: pypi
|
||
|
user: mkdocsdeploy
|
||
|
distributions: sdist bdist_wheel
|
||
|
password:
|
||
|
secure: 0HsKViPmpI13uG1wEeIQ6fRvdX4x1XZNufzQgMyhEDKj0Shuw5q7xt+KAuAULBpNbOZj1XzgdCmWxC6fZq2K5/Lm3aHZc2ZXDEhfVkIC8kCGCbPE/Ziq82CA2iyOWSdkLRdssaYebKeZy0qi41Y8Xxag7xGHo/atoUPL5Aegp6KBDJ6Q4160zyAmegy3XFR47m/43fyH5CoUlJf72Qf5/mhIVE0HqG/pYs8jpXX4I0ICJLmlx8UQNdAu2ikd1316XwTdl+VwRzZTfUpJtaN0vldGJ5cQKFU7Iil7jiPUuB5WVzZqYC87Y9/9XCwhwXAWQCt+AjDrhaFEaU0koDgUreIUE3xOBu7NeUqRZuR9aGbQgLvTcoLL6NcWVEJi9qtOynWPgVCjNUU/RyiNTXtPwGBjaeU5ZN7cUukLjaKwCNxglyj/kOo2AwlK9x54FdxCfCs07hjmoBHhQyHSTk+Lk/w6xAxI7pWOvM+oacUQaToWgq6FBnua5VfYVe92MECNCDB6Ua2DRsW3QZtLnQz6MQaJCBv3nIVw1QhQUWwHohfxidgq8F5wleEf2Bd+vTKXGFD0uTDzP6NKuc26cbm3nIJt5u8hCd/Sdc+gf+fP3N7fIgG0grmt6bbb8u5MiOBvKwfQjgFiN9Xt3KGwWQowpOfUfYOD23sWX0nxnaLaAJA=
|
||
|
on:
|
||
|
tags: true
|
||
|
repo: mkdocs/mkdocs-bootswatch
|
||
|
condition: "$TOXENV = py35"
|
||
|
after_deploy:
|
||
|
- git config user.name "Dougal Matthews"
|
||
|
- git config user.email "dougal@dougalmatthews.com"
|
||
|
- git remote add gh-token "https://${GH_TOKEN}@github.com/mkdocs/mkdocs-bootswatch.git";
|
||
|
- git fetch gh-token && git fetch gh-token gh-pages:gh-pages;
|
||
|
- pip install mkdocs -U;
|
||
|
- mkdocs gh-deploy -v --clean --remote-name gh-token;
|