Skip to content

Commit

Permalink
Update travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanmac committed Jan 5, 2015
1 parent a6cc381 commit 608f602
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ branches:

before_script:
- gem install bundler
- gem install rake
# Composer Setup
- composer self-update
- composer install --prefer-source --no-interaction --dev
Expand Down
3 changes: 1 addition & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ desc 'Generate deck from Travis CI and publish to GitHub Pages.'
task :travis do
# if this is a pull request, do a simple build of the site and stop
if ENV['TRAVIS_PULL_REQUEST'].to_s.to_i > 0
puts 'Pull request detected. Executing build only.'
system 'bundle exec rake build'
puts 'Pull request detected.'
next
end

Expand Down

0 comments on commit 608f602

Please sign in to comment.