Skip to content

Commit

Permalink
dummy test added
Browse files Browse the repository at this point in the history
  • Loading branch information
kotchaosu committed Dec 18, 2015
1 parent 22c7e65 commit 3eba7e9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
22 changes: 22 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
machine:
services:
- docker

dependencies:
override:
- sed -i 's/CMD/#CMD/g' Dockerfile
- docker build -t quay.io/syncano/ruby-codebox .

test:
override:
- docker run -it -v `pwd`/test.rb:/tmp/test.rb quay.io/syncano/ruby-codebox irb /tmp/test.rb

deployment:
production:
branch:
- master
commands:
- sed -e "s|<REGISTRY>|$DOCKER_REGISTRY|g" -e "s|<EMAIL>|$DOCKER_EMAIL|g" -e "s|<AUTH>|$DOCKER_AUTH|g" < .dockercfg.template > ~/.dockercfg
- sed -i 's/#CMD/CMD/g' Dockerfile
- docker build -t quay.io/syncano/ruby-codebox .
- docker pull quay.io/syncano/ruby-codebox
1 change: 1 addition & 0 deletions test.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require 'syncano'

0 comments on commit 3eba7e9

Please sign in to comment.