Add travis support
This commit is contained in:
23
.travis.yml
Normal file
23
.travis.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
dist: bionic
|
||||
language: generic
|
||||
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
|
||||
- sudo apt-get -y install qemu-user-static binfmt-support qemu
|
||||
- sudo update-binfmts --display
|
||||
- unset GOROOT
|
||||
script:
|
||||
- sudo ./scripts/create_sibling.sh -n pwnagotchi -o pwnagotchi.img -s 4
|
||||
- zip -s 2g pwnagotchi.zip pwnagotchi.img
|
||||
|
||||
# TODO: deploy!
|
Reference in New Issue
Block a user