Meta-repository and Docker based test suite for Databox SDKs.
Language / SDK | CI Status |
---|---|
JavaScript | |
Ruby | |
Go | |
PHP | |
Python | |
Java |
This repository contains Dockerfile that can used as basis for testing Databox SDKs. Rake is used to pull
data from repositories run its unit tests and examples.
Pull source code from all SDKs, install dependencies and run all tests.
docker run -ti databox-sdk /bin/bash -lc \
"rake"
Run specific test suite (JavaScript SDK in this example):
docker run -ti databox-sdk /bin/bash -lc \
"rake clean js"
Help yourself with boot2docker if you are on OSX.
boot2docker init
boot2docker up
Build databox-sdk image with local Dockerfile.
docker build -t databox-sdk .
Image mounts /sdks
folder. When developing, you can also mount local folder to container:
docker run -ti -v `pwd`/sdks:/sdks databox-sdk /bin/bash -lc \
"rake clean all"