pwnagotchi/.travis.yml

29 lines
512 B
YAML
Raw Normal View History

2019-09-27 20:07:42 +02:00
dist: bionic
2019-10-02 16:40:58 +01:00
language: go
go:
- 1.x
2019-09-27 20:07:42 +02:00
env:
global:
- LANG=C
- LC_ALL=C
2019-10-02 16:40:58 +01:00
2019-09-27 20:07:42 +02:00
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
2019-10-02 16:40:58 +01:00
2019-09-27 20:07:42 +02:00
cache:
apt: true
directories:
- tmp/
2019-10-02 16:40:58 +01:00
2019-09-27 20:07:42 +02:00
before_script:
- sudo apt-get -y update
2019-10-02 17:01:58 +01:00
- sudo apt-get -y install qemu-user-static binfmt-support qemu kpartx
2019-09-27 20:07:42 +02:00
- sudo update-binfmts --display
2019-10-02 16:40:58 +01:00
2019-09-27 20:07:42 +02:00
script:
2019-10-02 16:40:58 +01:00
- sudo make -e PWN_HOSTNAME="pwnagotchi" VERSION="$TRAVIS_TAG"
2019-09-27 20:07:42 +02:00
# TODO: deploy!