try circle again

This commit is contained in:
Michael Hobbs
2015-01-03 10:55:40 -08:00
parent 566cc15081
commit 9d81dda524
4 changed files with 36 additions and 3 deletions

32
circle.yml Normal file
View File

@@ -0,0 +1,32 @@
machine:
services:
- docker
dependencies:
cache_directories:
- "~/docker"
override:
- make -e ci-dependencies
- sudo -E CI=true make -e sshcommand pluginhook
# - sudo apt-get install -f
# - sudo apt-get autoremove
- sudo usermod -G docker dokku
- sudo -E CI=true make -e stack: { timeout: 300 }
- sudo -E CI=true make -e copyfiles plugin-dependencies version
- sudo dokku plugins-install
test:
pre:
#### circle does some weird *expletive* with regards to root and gh auth (needed for gitsubmodules test)
- sudo rsync -a ~ubuntu/.ssh/ ~root/.ssh/
- sudo chown -R root:root ~root/.ssh/
- sudo sed -e 's:/home/ubuntu:/root:g' ~root/.ssh/config
####
- sudo -E make -e setup-deploy-tests
override:
- sudo -E make -e lint
- sudo -E make -e unit-tests
### deploy tests (against buildstep release) ####
- sudo -E make -e deploy-tests: { timeout: 1800 }
### deploy tests (against buildstep master) ####
- sudo docker rmi -f progrium/buildstep
- sudo -E BUILD_STACK=true make -e stack: { timeout: 1800 }
- sudo -E make -e deploy-tests: { timeout: 1800 }