2019-09-27 20:07:42 +02:00
|
|
|
dist: bionic
|
2019-10-02 17:11:31 +01:00
|
|
|
language: generic
|
2019-09-27 20:07:42 +02:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- LANG=C
|
|
|
|
- LC_ALL=C
|
|
|
|
before_cache:
|
|
|
|
- mountpoint -q $TRAVIS_BUILD_DIR/tmp/mnt && sudo umount -R $TRAVIS_BUILD_DIR/tmp/mnt
|
|
|
|
- sudo find $TRAVIS_BUILD_DIR/tmp/ -name '*.img' -delete
|
|
|
|
cache:
|
|
|
|
apt: true
|
|
|
|
directories:
|
|
|
|
- tmp/
|
|
|
|
before_script:
|
|
|
|
- sudo apt-get -y update
|
2019-10-02 17:21:41 +01:00
|
|
|
- sudo apt-get -y install qemu-user-static binfmt-support qemu bmap-tools
|
2019-09-27 20:07:42 +02:00
|
|
|
- sudo update-binfmts --display
|
2019-10-02 17:21:41 +01:00
|
|
|
- unset GOROOT
|
2019-09-27 20:07:42 +02:00
|
|
|
script:
|
2019-10-02 17:21:41 +01:00
|
|
|
- sudo ./scripts/create_sibling.sh -n pwnagotchi -o pwnagotchi.img
|
|
|
|
- zip -s 2g pwnagotchi.zip pwnagotchi.img
|
2019-09-27 20:07:42 +02:00
|
|
|
|
|
|
|
# TODO: deploy!
|