test against both buildstep release and master

This commit is contained in:
Michael Hobbs
2014-12-16 14:23:15 -08:00
parent 3b41d6d16f
commit ee32b05a36
2 changed files with 9 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ DOKKU_VERSION = master
SSHCOMMAND_URL ?= https://raw.github.com/progrium/sshcommand/master/sshcommand
PLUGINHOOK_URL ?= https://s3.amazonaws.com/progrium-pluginhook/pluginhook_0.1.0_amd64.deb
STACK_URL ?= https://github.com/progrium/buildstep.git
PREBUILT_STACK_URL ?= https://github.com/progrium/buildstep/releases/download/2014-03-08/2014-03-08_429d4a9deb.tar.gz
PREBUILT_STACK_URL ?= https://github.com/progrium/buildstep/releases/download/2014-12-16/2014-12-16_42bd9f4aab.tar.gz
DOKKU_ROOT ?= /home/dokku
PLUGINS_PATH ?= /var/lib/dokku/plugins

View File

@@ -1,4 +1,5 @@
box: wercker-labs/docker
no-response-timeout: 20
build:
steps:
- script:
@@ -22,5 +23,11 @@ build:
name: unit tests
code: sudo -E make -e unit-tests
- script:
name: deploy tests
name: deploy tests (against buildstep release)
code: sudo -E make -e deploy-tests
- script:
name: deploy tests (against buildstep master)
code: |-
sudo docker rmi -f progrium/buildstep
sudo -E BUILD_STACK=true make -e stack
sudo -E make -e deploy-tests