Skip to content

Commit

Permalink
try running acceptance tests via boot2docker (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
tknerr committed Jul 2, 2015
1 parent c1d4555 commit 153a2f5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def acceptance_test_run_cmd(provider)
when 'virtualbox'
"rspec"
when 'docker'
"b2d-stop&& b2d-start&& set VAGRANT_DEFAULT_PROVIDER=docker&& set KITCHEN_LOCAL_YAML=.kitchen.docker.yml&& rspec&& b2d-stop"
"b2d-start&& set VAGRANT_DEFAULT_PROVIDER=docker&& set KITCHEN_LOCAL_YAML=.kitchen.docker.yml&& rspec&& b2d-stop"
else
fail "unsupported provider for running the acceptance tests: #{provider}"
end
Expand Down
17 changes: 16 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
version: '{build}-{branch}'
os: Windows Server 2012 R2
platform: x64
init:
- ps: |
mkdir C:\downloads | Out-Null
cd C:\downloads
Start-FileDownload "http://download.virtualbox.org/virtualbox/4.3.12/VirtualBox-4.3.12-93733-Win.exe"
Start-Process -FilePath "VirtualBox-4.3.12-93733-Win.exe" -ArgumentList "-silent -logging -msiparams INSTALLDIR=C:\VBox-4.3.12" -Wait
cd $env:APPVEYOR_BUILD_FOLDER
- ps: |
While ((Test-NetConnection google.com -Port 80 -InformationLevel Quiet) -ne "True") {
echo "waiting for network..."
Start-Sleep 1
}
install:
- set PATH=C:\VBox-4.3.12;%PATH%
- VBoxManage -v
- ruby --version
- gem install bundler --quiet --no-ri --no-rdoc
- bundle install
Expand All @@ -10,4 +24,5 @@ cache:
- C:\Ruby193\bin
build_script:
- rake build
test: off
test:
- rake acceptance[docker]

0 comments on commit 153a2f5

Please sign in to comment.