forked from tomeshnet/prototype-cjdns-pi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
23 lines (16 loc) · 841 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
sudo: required
services:
- docker
install: true
before_script:
- sudo apt-get --yes --no-install-recommends install binfmt-support qemu-user-static
- echo ':arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-arm-static:' | sudo tee -a /proc/sys/fs/binfmt_misc/register
env:
- DISTRO=jessie
- DISTRO=latest
script:
- cp /usr/bin/qemu-arm-static travis/${DISTRO}/
- docker build -t tomeshnet/prototype-cjdns-pi:${DISTRO} travis/${DISTRO}/
# Validate install script download and make executable
- docker run tomeshnet/prototype-cjdns-pi:${DISTRO} /bin/sh -c "wget https://raw.githubusercontent.com/tomeshnet/prototype-cjdns-pi/master/scripts/install; chmod +x install"
# TODO Test installation