Add Travis CI (#21)

* Add Travis CI

* Add build status badge
This commit is contained in:
Maruan 2018-06-19 10:05:48 -04:00 committed by GitHub
parent e7822d4a89
commit 0676c85b6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 24 additions and 2 deletions

19
.travis.yml Normal file
View File

@ -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

View File

@ -1,5 +1,6 @@
# al-folio # 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/) [![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) [![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) [![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 ## License
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT). The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

View File

@ -74,8 +74,9 @@ news_limit: 5
markdown: kramdown markdown: kramdown
highlighter: pygments highlighter: pygments
# Includes # Includes & excludes
include: ['_pages'] include: ['_pages']
exclude: [vendor]
# Plug-ins # Plug-ins
plugins: plugins:

1
bin/cibuild Executable file
View File

@ -0,0 +1 @@
bundle exec jekyll build