Skip to content

Commit

Permalink
Unbundle in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
parkr committed Oct 14, 2014
1 parent abdaf8a commit 130eb1e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
language: ruby
cache: bundler
before_install: script/unbundle
install:
- travis_retry bundle install --path vendor/bundle
rvm:
Expand Down
8 changes: 8 additions & 0 deletions script/unbundle
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

RELEASES_URL="https://github.com/jekyll/jekyll/releases"
JEKYLL_VERSION=`curl http://jekyllrb.com/latest_version.txt`
JEKYLL_BUNDLE="jekyll-${JEKYLL_VERSION}.tar.gz"

wget "${RELEASES_URL}/download/v${JEKYLL_VERSION}/${JEKYLL_BUNDLE}"
tar -xzvf ${JEKYLL_BUNDLE}

0 comments on commit 130eb1e

Please sign in to comment.