forked from betagouv/api.gouv.fr
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircle.yml
More file actions
26 lines (23 loc) · 788 Bytes
/
Copy pathcircle.yml
File metadata and controls
26 lines (23 loc) · 788 Bytes
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
machine:
ruby:
version: 2.1.7
java: # see <https://github.com/svenkreiss/html5validator#integration-with-circleci>
version: oraclejdk8
environment:
NOKOGIRI_USE_SYSTEM_LIBRARIES: true # Faster installation of nokogiri, required by html-proofer
dependencies:
post:
- bundle exec jekyll --version # print it out
- sudo pip install html5validator
test:
override:
- bundle exec jekyll doctor
- bundle exec jekyll build
- grep "css/main.css" _site/index.html # smoke test that something was actually compiled
- bundle exec htmlproofer ./_site --assume-extension --check-html --disable-external --empty-alt-ignore
- html5validator --root _site
deployment:
index:
branch: gh-pages
commands:
- bundle exec jekyll algolia push