forked from kylebarron/stata_kernel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (28 loc) · 900 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
language: python
notifications:
email: false
python:
- "3.5"
- "3.6"
- "3.7"
- "3.8"
install:
- pip install -r requirements.txt -r requirements_dev.txt
- python -m stata_kernel.install
script:
- python -m pytest tests/test_mata_lexer.py tests/test_stata_lexer.py
- python setup.py install
# deploy:
# provider: pages
# skip-cleanup: true
# github-token: $GITHUB_TOKEN
# keep-history: true
# target-branch: gh-pages
# committer-from-gh: true
after_success:
- git config user.name "Kyle Barron";
- git config user.email "[email protected]";
- git remote add gh-token "https://kylebarron:${GITHUB_TOKEN}@github.com/kylebarron/stata_kernel.git";
- git fetch gh-token && git fetch gh-token gh-pages:gh-pages;
- pip install -IU -r requirements_dev.txt;
- cd docs && mkdocs gh-deploy -v --clean --remote-name gh-token -b gh-pages --force;