diff --git a/.gitignore b/.gitignore index c0524f2..a077bbc 100644 --- a/.gitignore +++ b/.gitignore @@ -86,3 +86,62 @@ tags # End of https://www.gitignore.io/api/vim,code,macos,jekyll,sublimetext + + + +# Created by https://www.gitignore.io/api/ruby + +### Ruby ### +*.gem +*.rbc +/.config +/coverage/ +/InstalledFiles +/pkg/ +/spec/reports/ +/spec/examples.txt +/test/tmp/ +/test/version_tmp/ +/tmp/ + +# Used by dotenv library to load environment variables. +# .env + +## Specific to RubyMotion: +.dat* +.repl_history +build/ +*.bridgesupport +build-iPhoneOS/ +build-iPhoneSimulator/ + +## Specific to RubyMotion (use of CocoaPods): +# +# We recommend against adding the Pods directory to your .gitignore. However +# you should judge for yourself, the pros and cons are mentioned at: +# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control +# +# vendor/Pods/ + +## Documentation cache and generated files: +/.yardoc/ +/_yardoc/ +/doc/ +/rdoc/ + +## Environment normalization: +/.bundle/ +/vendor/bundle +/lib/bundler/man/ + +# for a library or gem, you might want to ignore these files since the code is +# intended to run in multiple environments; otherwise, check them in: +Gemfile.lock +# .ruby-version +# .ruby-gemset + +# unless supporting rvm < 1.11.0 or doing something fancy, ignore this: +.rvmrc + + +# End of https://www.gitignore.io/api/ruby \ No newline at end of file diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e4cf3f5 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,16 @@ +language: ruby +rvm: +- 2.3.3 + +before_script: + - chmod +x ./script/cibuild # or do this locally and commit + +# Assume bundler is being used, therefore +# the `install` step will run `bundle install` by default. +script: ./script/cibuild + +env: + global: + - NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer + +sudo: false # route your build to the container-based infrastructure for a faster build \ No newline at end of file diff --git a/Gemfile b/Gemfile index c99d6dd..d8777ee 100755 --- a/Gemfile +++ b/Gemfile @@ -1,3 +1,4 @@ source "https://rubygems.org" gem "jekyll" +gem "html-proofer" \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock deleted file mode 100644 index 9abbe93..0000000 --- a/Gemfile.lock +++ /dev/null @@ -1,63 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - addressable (2.5.2) - public_suffix (>= 2.0.2, < 4.0) - colorator (1.1.0) - concurrent-ruby (1.0.5) - em-websocket (0.5.1) - eventmachine (>= 0.12.9) - http_parser.rb (~> 0.6.0) - eventmachine (1.2.6) - ffi (1.9.23) - forwardable-extended (2.6.0) - http_parser.rb (0.6.0) - i18n (0.9.5) - concurrent-ruby (~> 1.0) - jekyll (3.8.0) - addressable (~> 2.4) - colorator (~> 1.0) - em-websocket (~> 0.5) - i18n (~> 0.7) - jekyll-sass-converter (~> 1.0) - jekyll-watch (~> 2.0) - kramdown (~> 1.14) - liquid (~> 4.0) - mercenary (~> 0.3.3) - pathutil (~> 0.9) - rouge (>= 1.7, < 4) - safe_yaml (~> 1.0) - jekyll-sass-converter (1.5.2) - sass (~> 3.4) - jekyll-watch (2.0.0) - listen (~> 3.0) - kramdown (1.16.2) - liquid (4.0.0) - listen (3.1.5) - rb-fsevent (~> 0.9, >= 0.9.4) - rb-inotify (~> 0.9, >= 0.9.7) - ruby_dep (~> 1.2) - mercenary (0.3.6) - pathutil (0.16.1) - forwardable-extended (~> 2.6) - public_suffix (3.0.2) - rb-fsevent (0.10.3) - rb-inotify (0.9.10) - ffi (>= 0.5.0, < 2) - rouge (3.1.1) - ruby_dep (1.5.0) - safe_yaml (1.0.4) - sass (3.5.6) - sass-listen (~> 4.0.0) - sass-listen (4.0.0) - rb-fsevent (~> 0.9, >= 0.9.4) - rb-inotify (~> 0.9, >= 0.9.7) - -PLATFORMS - ruby - -DEPENDENCIES - jekyll - -BUNDLED WITH - 1.16.1 diff --git a/README.md b/README.md index 146b7ec..7a9577f 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ jef-sachsen.de ============== +master: ![Travis CI Master](https://travis-ci.org/jef-sachsen/jef-sachsen.de.svg?branch=master), develop: ![Travis CI Develop](https://travis-ci.org/jef-sachsen/jef-sachsen.de.svg?branch=develop) + Thanks at [@jeromelachaud](https://jeromelachaud.github.io/freelancer-theme) for providing the basis of this website. diff --git a/_config.yml b/_config.yml index 5fcd482..8412a98 100755 --- a/_config.yml +++ b/_config.yml @@ -53,3 +53,4 @@ address: # Build settings markdown: kramdown permalink: pretty +exclude: [vendor] diff --git a/script/cibuild b/script/cibuild new file mode 100644 index 0000000..7b053a5 --- /dev/null +++ b/script/cibuild @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -e # halt script on error + +bundle exec jekyll build +#bundle exec htmlproofer ./_site \ No newline at end of file