-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
49 lines (35 loc) · 858 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
# Travis-CI :~ Ruby + Node.JS
# https://pages.github.com/versions/
# https://jekyllrb.com/docs/continuous-integration/
language: ruby
rvm: 2.5.3
git:
depth: 8
bundler_args: --without benchmark:site:development
cache:
- bundler
- npm
sudo: false
before_install: nvm install v11
install:
- bundle install
#- gem install github-pages
- npm ci # Was: install
script:
- npm test
- npm run build
# http://localhost:4000
after_script:
- npm run count
- npm run version
# http://cruft.io/posts/automated-accessibility-testing-node-travis-ci-pa11y/
# Sleep while Github-Pages re-builds ... ?
- npm run pa11y-ci # sleep 40;
- npm audit
notifications:
webhooks:
#- http://iet-embed-acct.open.ac.uk/dev/travis-hook/
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
# End.