2016-03-02 16:21:14 +01:00
|
|
|
machine:
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
override:
|
|
|
|
- docker info
|
|
|
|
- docker pull thewtex/cross-compiler-base
|
2016-03-07 03:38:38 +01:00
|
|
|
- docker pull thewtex/cross-compiler-android-arm
|
2016-03-02 16:21:14 +01:00
|
|
|
|
|
|
|
test:
|
|
|
|
override:
|
|
|
|
- make base
|
2016-03-04 03:20:30 +01:00
|
|
|
- docker run --rm -v ~/cross-compilers/test/:/usr/src/test:ro thewtex/cross-compiler-base python /usr/src/test/run.py --emulator 'sh -c'
|
2016-03-07 03:38:38 +01:00
|
|
|
- make android-arm
|
|
|
|
- docker run --rm -v ~/cross-compilers/test/:/usr/src/test:ro thewtex/cross-compiler-android-arm python /usr/src/test/run.py
|
2016-03-02 18:24:00 +01:00
|
|
|
|
|
|
|
deployment:
|
|
|
|
hub:
|
|
|
|
branch: master
|
|
|
|
commands:
|
|
|
|
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
|
|
|
|
- docker push thewtex/cross-compiler-base
|
2016-03-07 03:38:38 +01:00
|
|
|
- docker push thewtex/cross-compiler-android-arm
|