File tree Expand file tree Collapse file tree 6 files changed +40
-2
lines changed Expand file tree Collapse file tree 6 files changed +40
-2
lines changed Original file line number Diff line number Diff line change
1
+ language : ruby
2
+ rvm :
3
+ - 2.4.0
4
+
5
+ # Assume bundler is being used, therefore
6
+ # the `install` step will run `bundle install` by default.
7
+ script : ./script/cibuild.sh
8
+
9
+ env :
10
+ global :
11
+ - NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
12
+
13
+ # Upgrade the SSL otherwise outwards connections will fail
14
+ addons :
15
+ apt :
16
+ packages :
17
+ - libcurl4-openssl-dev
18
+
19
+ sudo : false # route your build to the container-based infrastructure for a faster build
20
+
21
+ # Cache the budler results so repeat builds get some speed
22
+ cache : bundler
Original file line number Diff line number Diff line change 1
1
source "https://rubygems.org"
2
2
gem 'github-pages' , group : :jekyll_plugins
3
+ gem 'html-proofer'
Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ $ bundle install
18
18
``` bash
19
19
$ bundle exec jekyll serve
20
20
```
21
- 2 . You can now view the website locally on < http://127.0.0.1 :4000 >
21
+ 2 . You can now view the website locally on ` http://localhost :4000 `
22
22
23
- The server will rebuild the site every time a file changes, with the exception of [ ` _config.yml ` ] ( _config.yml ) .
23
+ The server will rebuild the site every time a file changes, with the exception of ` _config.yml ` .
24
24
25
25
# License
26
26
Original file line number Diff line number Diff line change 4
4
# Jekyll plugins that are supported by GitHub pages
5
5
plugins :
6
6
- jekyll-remote-theme
7
+ - jekyll-feed
7
8
8
9
# Also render the README to HTML even if there is an index.md
9
10
include :
10
11
- README.md
11
12
13
+ # Exclude the `vendor` folder created by Travis
14
+ exclude :
15
+ - vendor
16
+
12
17
# Use the Foundation For Public Code Jekyll theme
13
18
remote_theme : publiccodenet/jekyll-theme
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ ./script/test.sh
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -e # halt script on error
3
+
4
+ # Build the site
5
+ bundle exec jekyll build
6
+
7
+ # Check for broken links and missing alt tags, ignore edit links to GitHub as they might not exist yet
8
+ bundle exec htmlproofer --url-ignore " /github.com/(.*)/edit/" ./_site
You can’t perform that action at this time.
0 commit comments