Skip to content

Commit

Permalink
Used 'bundle install' and try to speed up builds
Browse files Browse the repository at this point in the history
  • Loading branch information
hartmantis committed Nov 20, 2015
1 parent b783583 commit 94fc365
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ branches:

install:
- curl -L https://www.chef.io/chef/install.sh | sudo bash -s -- -P chefdk
- chef exec bundle update
- chef exec bundle install --without=development integration

before_script:
# Pending ENV support in Kitchen's Rake tasks and not just the CLI
- cp .kitchen.travis.yml .kitchen.local.yml

script:
- chef exec bundle exec kitchen test -c 2
- chef exec kitchen test

after_script:

Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ install:
- SET PATH=C:\opscode\chefdk\bin;%PATH%

build_script:
- chef exec bundle update
- chef exec bundle install --without=development integration
- copy .kitchen.appveyor.yml .kitchen.local.yml

test_script:
- chef exec bundle exec kitchen test -c 2
- chef exec kitchen test
6 changes: 4 additions & 2 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ dependencies:
pre:
- rvm install 2.0.0-p645
override:
- bundle update
- rvm-exec 2.0.0-p645 bundle update
- gem install -V berkshelf
- rvm-exec 2.0.0-p645 gem install -V berkshelf
- bundle install --without=development ingreation
- rvm-exec 2.0.0-p645 bundle install --without=development integration
cache_directories:
- /home/ubuntu/.rvm/gems

Expand Down

0 comments on commit 94fc365

Please sign in to comment.