Skip to content

Commit 0676c85

Browse files
authored
Add Travis CI (alshedivat#21)
* Add Travis CI * Add build status badge
1 parent e7822d4 commit 0676c85

File tree

4 files changed

+24
-2
lines changed

4 files changed

+24
-2
lines changed

.travis.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
language: ruby
2+
rvm:
3+
- 2.4.1
4+
5+
# Assume bundler is being used, therefore
6+
# the `install` step will run `bundle install` by default.
7+
script: ./bin/cibuild
8+
9+
env:
10+
global:
11+
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
12+
13+
sudo: false # route your build to the container-based infrastructure for a faster build
14+
15+
cache: bundler # caching bundler gem packages will speed up build
16+
17+
# Optional: disable email notifications about the outcome of your builds
18+
notifications:
19+
email: false

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# al-folio
22

3+
[![build status](https://travis-ci.org/alshedivat/al-folio.svg?branch=master)](https://travis-ci.org/alshedivat/al-folio)
34
[![demo](https://img.shields.io/badge/theme-demo-brightgreen.svg)](https://alshedivat.github.io/al-folio/)
45
[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/alshedivat/al-folio/blob/master/LICENSE)
56
[![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.
104105

105106
## License
106107

107-
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
108+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

_config.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,9 @@ news_limit: 5
7474
markdown: kramdown
7575
highlighter: pygments
7676

77-
# Includes
77+
# Includes & excludes
7878
include: ['_pages']
79+
exclude: [vendor]
7980

8081
# Plug-ins
8182
plugins:

bin/cibuild

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bundle exec jekyll build

0 commit comments

Comments
 (0)