summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCecile Tonglet2017-12-24 11:02:46 +0100
committerCecile Tonglet2017-12-25 15:18:37 +0100
commitee1b913b2a8d954a2e8051652a01bf6f392ff7af (patch)
tree6bbb3dd1e84fe119451c14b20e84796528a25abb
parent07c064776b6a720dd8ae45b0c8a85d448871a7f4 (diff)
downloadaur-ee1b913b2a8d954a2e8051652a01bf6f392ff7af.tar.gz
Added .travis.yml
-rw-r--r--.travis.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 000000000000..05696cb8aba0
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,26 @@
+language: generic
+sudo: true
+env:
+ - PLATFORM=rpi
+ - PLATFORM=rpi-2
+before_install:
+ - sudo chmod 777 .
+ - sudo mkdir root
+install:
+ - sudo apt-get update
+ - sudo apt-get install -y qemu-user-static bsdtar
+ - curl -sSL http://os.archlinuxarm.org/os/ArchLinuxARM-$PLATFORM-latest.tar.gz | sudo bsdtar -xpf - -C root || echo ok
+ - sudo rm -fv root/usr/share/libalpm/hooks/*
+ - git clone --bare https://github.com/libretro/beetle-supergrafx-libretro.git beetle-supergrafx-libretro
+before_script:
+ - sudo mount -o bind root root
+ - sudo mount -o bind /dev root/dev
+ - sudo mount -o bind /proc root/proc
+ - sudo mount -o bind /sys root/sys
+ - sudo mkdir -p root/src
+ - sudo mount -o bind . root/src
+ - sudo cp --remove-destination /etc/resolv.conf root/etc/resolv.conf
+ - sudo cp /usr/bin/qemu-arm-static root/bin/
+ - sudo LC_ALL=C chroot root qemu-arm-static /bin/bash -c "pacman -Sy --needed --noconfirm --noprogressbar base-devel git"
+script:
+ - sudo LC_ALL=C chroot root qemu-arm-static /bin/bash -c "cd /src && su -s /bin/sh -c 'makepkg --noarchive --holdver' nobody"