forked from Pelican-Elegant/elegant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
51 lines (41 loc) · 764 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
language: python
dist: trusty
python:
- '3.6'
env:
- NODE_VERSION="12.13.1"
branches:
only:
- master
- next
addons:
apt:
packages:
- openjdk-8-jre # install Java8 as required by vnu.jar
cache:
- pip
- yarn
- directories:
- $HOME/.cache/pre-commit
before_install:
- nvm install $NODE_VERSION
install:
- pip install -r documentation/requirements.txt
- pip install -U html5validator
- pip install -U pre-commit
- yarn global add yaspeller
- yarn install
before_script:
- cd documentation
- invoke plugins-sync
script:
- pre-commit run --all-files
- yaspeller --only-errors content/ *.md
- invoke publish
- html5validator --root output/
deploy:
skip_cleanup: true
provider: script
script: yarn semantic-release
on:
branch: master