add requirements.txt

This commit is contained in:
Vinta 2019-03-03 00:01:02 +08:00
parent fa435573d9
commit 85583e196c
2 changed files with 6 additions and 4 deletions

View File

@ -3,18 +3,18 @@ language: python
python: python:
- "3.6" - "3.6"
before_script: install:
- pip install mkdocs mkdocs-material - pip install -r requirements.txt
script: script:
- cp README.md docs/index.md - cp README.md docs/index.md
- mkdocs build - mkdocs build
deploy: deploy:
provider: pages provider: pages
local-dir: "site" local-dir: "site"
skip-cleanup: true skip-cleanup: true
github-token: $GITHUB_TOKEN
keep-history: true keep-history: true
github-token: $GITHUB_TOKEN
on: on:
branch: master branch: master

2
requirements.txt Normal file
View File

@ -0,0 +1,2 @@
mkdocs==1.0.4
mkdocs-material==4.0.2