diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..328023a --- /dev/null +++ b/.travis.yml @@ -0,0 +1,19 @@ +language: ruby +rvm: + - 2.4.1 + +# Assume bundler is being used, therefore +# the `install` step will run `bundle install` by default. +script: ./bin/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 + +cache: bundler # caching bundler gem packages will speed up build + +# Optional: disable email notifications about the outcome of your builds +notifications: + email: false diff --git a/README.md b/README.md index 359a45b..b92ce9b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # al-folio +[![build status](https://travis-ci.org/alshedivat/al-folio.svg?branch=master)](https://travis-ci.org/alshedivat/al-folio) [![demo](https://img.shields.io/badge/theme-demo-brightgreen.svg)](https://alshedivat.github.io/al-folio/) [![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/alshedivat/al-folio/blob/master/LICENSE) [![gitter](https://badges.gitter.im/alshedivat/al-folio.svg)](https://gitter.im/alshedivat/al-folio?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) @@ -104,4 +105,4 @@ Style improvements and bug fixes are especially welcome. ## License -The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT). \ No newline at end of file +The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT). diff --git a/_config.yml b/_config.yml index 58d17b0..0a86131 100644 --- a/_config.yml +++ b/_config.yml @@ -74,8 +74,9 @@ news_limit: 5 markdown: kramdown highlighter: pygments -# Includes +# Includes & excludes include: ['_pages'] +exclude: [vendor] # Plug-ins plugins: diff --git a/bin/cibuild b/bin/cibuild new file mode 100755 index 0000000..d5c9e19 --- /dev/null +++ b/bin/cibuild @@ -0,0 +1 @@ +bundle exec jekyll build