Skip to content

Commit 3df6b48

Browse files
committed
Travis CI integration
1 parent 0e7d720 commit 3df6b48

File tree

6 files changed

+59
-2
lines changed

6 files changed

+59
-2
lines changed

.travis.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
language: ruby
2+
rvm:
3+
- 2.6.3
4+
5+
before_script:
6+
- chmod +x ./script/cibuild
7+
8+
script: ./script/cibuild
9+
10+
branches:
11+
only:
12+
- master
13+
14+
env:
15+
global:
16+
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
17+
18+
addons:
19+
apt:
20+
packages:
21+
- libcurl4-openssl-dev
22+
23+
sudo: false
24+
25+
cache: bundler
26+
27+
notifications:
28+
email: false

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ end
2828
# Performance-booster for watching directories on Windows
2929
gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?
3030

31+
gem "html-proofer"

Gemfile.lock

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,19 @@ GEM
88
em-websocket (0.5.1)
99
eventmachine (>= 0.12.9)
1010
http_parser.rb (~> 0.6.0)
11+
ethon (0.12.0)
12+
ffi (>= 1.3.0)
1113
eventmachine (1.2.7)
1214
ffi (1.12.2)
1315
forwardable-extended (2.6.0)
16+
html-proofer (3.15.1)
17+
addressable (~> 2.3)
18+
mercenary (~> 0.3)
19+
nokogumbo (~> 2.0)
20+
parallel (~> 1.3)
21+
rainbow (~> 3.0)
22+
typhoeus (~> 1.3)
23+
yell (~> 2.0)
1424
http_parser.rb (0.6.0)
1525
i18n (1.8.2)
1626
concurrent-ruby (~> 1.0)
@@ -45,13 +55,20 @@ GEM
4555
rb-fsevent (~> 0.10, >= 0.10.3)
4656
rb-inotify (~> 0.9, >= 0.9.10)
4757
mercenary (0.3.6)
58+
mini_portile2 (2.4.0)
4859
minima (2.5.1)
4960
jekyll (>= 3.5, < 5.0)
5061
jekyll-feed (~> 0.9)
5162
jekyll-seo-tag (~> 2.1)
63+
nokogiri (1.10.8)
64+
mini_portile2 (~> 2.4.0)
65+
nokogumbo (2.0.2)
66+
nokogiri (~> 1.8, >= 1.8.4)
67+
parallel (1.19.1)
5268
pathutil (0.16.2)
5369
forwardable-extended (~> 2.6)
5470
public_suffix (4.0.3)
71+
rainbow (3.0.0)
5572
rb-fsevent (0.10.3)
5673
rb-inotify (0.10.1)
5774
ffi (~> 1.0)
@@ -62,17 +79,21 @@ GEM
6279
terminal-table (1.8.0)
6380
unicode-display_width (~> 1.1, >= 1.1.1)
6481
thread_safe (0.3.6)
82+
typhoeus (1.3.1)
83+
ethon (>= 0.9.0)
6584
tzinfo (1.2.6)
6685
thread_safe (~> 0.1)
6786
tzinfo-data (1.2019.3)
6887
tzinfo (>= 1.0.0)
6988
unicode-display_width (1.6.1)
7089
wdm (0.1.1)
90+
yell (2.2.2)
7191

7292
PLATFORMS
7393
ruby
7494

7595
DEPENDENCIES
96+
html-proofer
7697
jekyll (~> 4.0.0)
7798
jekyll-feed (~> 0.12)
7899
minima (~> 2.5)

_config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ description: >- # this means to ignore newlines until "baseurl:"
2424
This is the official website for CoderDojo RISE.
2525
baseurl: "" # the subpath of your site, e.g. /blog
2626
url: "" # the base hostname & protocol for your site, e.g. http://example.com
27-
twitter_username: coderdojorise
27+
twitter_username: CDShoredtich
2828
github_username: coderdojorise
2929

3030
# Build settings
@@ -58,3 +58,5 @@ destination: public
5858
# - vendor/cache/
5959
# - vendor/gems/
6060
# - vendor/ruby/
61+
62+
exclude: [vendor]

script/cibuild

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
set -e # Halt script on error
3+
4+
bundle exec jekyll build
5+
bundle exec htmlproofer ./public

src/_includes/navbar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<span class="icon-bar"></span>
99
</button>
1010
<a class="navbar-brand" href="/">
11-
<img class="logo" src="{{ site.data.navbar.logo }}"/>
11+
<img class="logo" alt="CoderDojo RISE Logo" src="{{ site.data.navbar.logo }}"/>
1212
</a>
1313
</div>
1414

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy