forked from letsencrypt/website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
19 lines (16 loc) · 688 Bytes
/
.travis.yml
File metadata and controls
19 lines (16 loc) · 688 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
language: generic
env:
global:
# same as netlify.toml
- HUGO_VERSION=0.67.1
- HUGO_SHA256=2eb98c21962d09950620dc0b77be67d6073c81153a6a1e80c228a1924faf5dc4
before_install:
- wget https://github.com/gohugoio/hugo/releases/download/v$HUGO_VERSION/hugo_extended_${HUGO_VERSION}_Linux-64bit.deb
- echo "$HUGO_SHA256 hugo_extended_${HUGO_VERSION}_Linux-64bit.deb" | sha256sum -c - || exit 1;
- sudo dpkg -i hugo_extended_${HUGO_VERSION}_Linux-64bit.deb
- pip install --user html5validator
install:
- npm install
- npm run build
- npm test
- html5validator --root public --blacklist documents a-warm-welcome-to-asn1-and-der donate --also-check-css --format text