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-13 03:26:41 +01:00
|
|
|
- docker pull thewtex/cross-compiler-browser-asmjs
|
2016-03-14 22:54:40 +01:00
|
|
|
- docker pull thewtex/cross-compiler-linux-armv6
|
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-13 03:26:41 +01:00
|
|
|
- make browser-asmjs
|
|
|
|
- docker run --rm -v ~/cross-compilers/test/:/usr/src/test:ro thewtex/cross-compiler-browser-asmjs python /usr/src/test/run.py --emulator /usr/bin/node --exe-suffix ".js"
|
2016-03-14 22:54:40 +01:00
|
|
|
- make linux-armv6
|
|
|
|
- docker run --rm -v ~/cross-compilers/test/:/usr/src/test:ro thewtex/cross-compiler-linux-armv6 python /usr/src/test/run.py --emulator /usr/bin/qemu-arm
|
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
|
2016-03-14 22:54:40 +01:00
|
|
|
- docker push thewtex/cross-compiler-browser-asmjs
|
|
|
|
- docker push thewtex/cross-compiler-linux-armv6
|