Skip to content

Commit

Permalink
Move travis script to file
Browse files Browse the repository at this point in the history
  • Loading branch information
jabenninghoff committed Nov 20, 2016
1 parent ae5ee7f commit 60ff718
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ cache: bundler
rvm:
- 2.3.1

script: bundle exec jekyll build && bundle exec htmlproofer --check-favicon --check-html ./_site
before_script:
- chmod +x ./script/cibuild # ensure script is executable

# Assume bundler is being used, therefore
# the `install` step will run `bundle install` by default.
script: ./script/cibuild

env:
global:
Expand Down
5 changes: 5 additions & 0 deletions script/cibuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -e # halt script on error

bundle exec jekyll build
bundle exec htmlproofer --check-favicon --check-html ./_site

0 comments on commit 60ff718

Please sign in to comment.