File tree Expand file tree Collapse file tree 6 files changed +20
-7
lines changed Expand file tree Collapse file tree 6 files changed +20
-7
lines changed Original file line number Diff line number Diff line change
1
+ sudo : false
1
2
matrix :
3
+ fast_finish : true
2
4
include :
3
5
- language : php
4
6
php :
@@ -13,11 +15,15 @@ matrix:
13
15
cache :
14
16
directories :
15
17
- $HOME/.composer/cache
16
- sudo : false
17
18
- language : ruby
18
19
rvm :
19
20
- 2.4.1
20
- cache : bundler
21
+ cache :
22
+ bundler : true
23
+ directories : $TRAVIS_BUILD_DIR/tmp/.htmlproofer
21
24
before_install :
22
25
- cd frontend
23
- sudo : true
26
+ script :
27
+ - bundle exec rake proof build
28
+ notifications :
29
+ email : false
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ source 'https://rubygems.org'
3
3
# Dependencies are bundled with the github-pages gem
4
4
gem 'github-pages' , group : :jekyll_plugins
5
5
6
- gem 'diff-lcs' , platforms : :mswin
7
6
gem 'diffy'
8
7
gem 'fastimage'
9
8
gem 'html-proofer'
Original file line number Diff line number Diff line change @@ -263,7 +263,6 @@ PLATFORMS
263
263
ruby
264
264
265
265
DEPENDENCIES
266
- diff-lcs
267
266
diffy
268
267
fastimage
269
268
github-pages
Original file line number Diff line number Diff line change @@ -22,6 +22,15 @@ task :build do
22
22
Jekyll ::Commands ::Build . build site , config
23
23
end
24
24
25
+ task proof : 'build' do
26
+ HTMLProofer . check_directory (
27
+ './_site' , \
28
+ assume_extension : true , \
29
+ check_html : true , \
30
+ disable_external : true
31
+ ) . run
32
+ end
33
+
25
34
task :clean do
26
35
puts 'Cleaning up _site...' . bold
27
36
Jekyll ::Commands ::Clean . process ( { } )
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ description: ""
3
3
url : " tempfiles.carlgo11.com"
4
4
permalink : pretty
5
5
markdown : kramdown
6
- img : img/favicon.png
6
+ img : / img/favicon.png
7
7
exclude :
8
8
- Gemfile
9
9
- Gemfile.lock
Original file line number Diff line number Diff line change 19
19
< nav class ="navbar navbar-inverse navbar-static-top ">
20
20
< div class ="container ">
21
21
< div class ="navbar-header ">
22
- < a class ="navbar-brand " href ="/ "> < img src ="/img/logo.svg " id ="logo "> </ a > < a class ="navbar-brand nocolor " href ="/ "> TempFiles</ a >
22
+ < a class ="navbar-brand " href ="/ "> < img src ="/img/logo.svg " id ="logo " alt =" logo " > </ a > < a class ="navbar-brand nocolor " href ="/ "> TempFiles</ a >
23
23
</ div >
24
24
< div class ="custom-control custom-switch noselect " id ="dark-button ">
25
25
< input type ="checkbox " class ="custom-control-input " id ="dark_button ">
You can’t perform that action at this time.
0 commit comments