File tree 4 files changed +47
-0
lines changed
4 files changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ language : ruby
2
+ rvm :
3
+ - 2.2
4
+
5
+ before_install :
6
+ - nvm install node
7
+
8
+ install :
9
+ - npm install -g csslint
10
+ - bundle install
11
+
12
+ before_script :
13
+ - chmod +x ./script/cibuild # or do this locally and commit
14
+
15
+ script :
16
+ - ./script/cibuild
17
+ - csslint _site/css/gallery.css
18
+ - csslint _site/css/logo-nav.css
19
+ - csslint _site/css/syntax.css
20
+ - csslint _site/css/materialize.css
21
+
22
+ # branch whitelist, only for GitHub Pages
23
+ branches :
24
+ only :
25
+ - master
26
+
27
+ env :
28
+ global :
29
+ - NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
Original file line number Diff line number Diff line change 1
1
source 'https://rubygems.org'
2
2
gem 'github-pages'
3
+ gem "jekyll"
4
+ gem "jekyll-redirect-from"
5
+ gem "jekyll-paginate"
6
+ gem "jekyll-sitemap"
7
+ gem "jekyll-feed"
8
+ gem "html-proofer"
Original file line number Diff line number Diff line change @@ -78,4 +78,11 @@ Add commit (and don't forget to add to `_data/nav.yml`
78
78
79
79
` navbar_gray: true ` start the navbar with a grey background if you need it.
80
80
81
+ # Continuous Integration Testing on Travis
82
+
83
+ Travis will run and test:
84
+
85
+ - jekyll build
86
+ - html-proofer
87
+ - csslint
81
88
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -e # halt script on error
3
+
4
+ bundle exec jekyll build
5
+ bundle exec htmlproofer ./_site
You can’t perform that action at this time.
0 commit comments