forked from facelessuser/ExportHtml
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
54 lines (47 loc) · 1.16 KB
/
.travis.yml
File metadata and controls
54 lines (47 loc) · 1.16 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
sudo: false
language: python
# Limit git depth to speed up build
git:
depth: 5
matrix:
include:
- python: 3.6
node_js: 6
env: TESTENV=unittest
- python: 3.6
env: TESTENV=documents
install:
- pip install flake8
- pip install flake8-docstrings
- pip install pep8-naming
- pip install flake8-mutable
- pip install flake8-builtins
- pip install pytest
- pip install mkdocs-material
- pip install pymdown-extensions
- pip install pygments
- pip install html5lib
- pip install beautifulsoup4
- npm install -g jshint
addons:
apt:
packages:
- aspell
- aspell-en
script:
- if [ $TESTENV = unittest ]; then py.test .; fi
- if [ $TESTENV = unittest ]; then flake8 .; fi
- if [ $TESTENV = unittest ]; then jshint .; fi
- if [ $TESTENV = documents ]; then python tests/spellcheck.py; fi
- if [ $TESTENV = documents ]; then mkdocs build --clean --verbose --strict; fi
deploy:
- provider: pages
github_token: $GITHUB_TOKEN
name: $GITHUB_USER
email: $GITHUB_EMAIL
skip_cleanup: true
local_dir: site
on:
tags: true
repo: facelessuser/ExportHtml
condition: "$TESTENV = documents"