Enable travis on libucontext maybe

parent aaeb73ea
branches:
only:
- master
dist: xenial
sudo: required
language: minimal
env:
- ARCH=x86_64
- ARCH=x86
install:
- sudo .travis/install
script: |
. .travis/config
sudo chroot $NEWROOT su -l $USER sh -c "cd $CLONE_DIR; make ARCH=$ARCH; make ARCH=$ARCH check"
notifications:
email: false
#!/bin/sh
NEWROOT=/srv/adelie/$ARCH
CLONE_DIR=${CLONE_DIR:-$(pwd)}
#!/bin/sh -e
. $(dirname $0)/config
curl -O https://distfiles.adelielinux.org/adelie/apk-tools-static/x86_64.apk
tar -xzOf x86_64.apk sbin/apk.static > /tmp/apk.static
chmod a+x /tmp/apk.static
mkdir -p "$NEWROOT"/etc/apk/keys
cp "$CLONE_DIR"/.travis/*.pub "$NEWROOT"/etc/apk/keys/
case $ARCH in
x86) APK_ARCH=pmmx;;
*) APK_ARCH=$ARCH;;
esac
/tmp/apk.static --arch $APK_ARCH -X "https://distfiles.adelielinux.org/adelie/current/system" --root "$NEWROOT" --initdb --no-progress add adelie-core bash-binsh musl-dev gcc binutils make pkgconf utmps-dev
cd "$NEWROOT"
mount -t proc none proc
mount -t sysfs none sys
mount -R /dev dev
mount -R /run run
ln -s /run/shm dev/shm
chroot "$NEWROOT" useradd -m -c "Travis User" -s /bin/sh -G wheel -u $SUDO_UID $SUDO_USER
mkdir -p ./$CLONE_DIR
mount -B $CLONE_DIR ./$CLONE_DIR
-----BEGIN PUBLIC KEY-----
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAsLRKBHGBE1L7QfwskILi
/j1o04J6SUY+HDa6OcA96XpcBN8EA1rE3ThgUjasaTFbPkLXBt3/AnSW0uBGYDLj
Wzg16dUYva3iV5W+Xc3oT0q2t0cCeYXgAUJyqw4SuyMypKLzvcb4mvUP8rDhJmee
l9Rhw/0iEZF1S/ArTKZIaQ5bN3iAZG4IloiXTlwsjEGO6BWEemdTer7Z6wii8lW0
b9dtivz0rxxb7wIrLPLB3HJz5X+FWniGs8TTNHymjhOxjq8A+kVMaElGfFhhNwBH
W4rjlWiy16pTar49UVoJdD2L9WFNKD3JOARHjPUt5VPd0arbV5yztw8OjpbToF4W
lNrT60sAvCIzW99U7QpKgWJX8F05zKcdJWSnyxLw0F8lN3vZ80dblKPYe3A/rj5E
KNf4Lmach81YPNohL2hc9OgV8a474j7brA1gQlhVN0j55AQuTv/RrQpSlPcqCE4p
e7l1Aa+daq8yH8sqAzfug1IqGgqztk/YoEcchprm+pEkWRI2N7qCU+3WKDF5Oa5M
XQfPaOw7Mp6Udxl7Opwol4icNXYi3o4QX1I29ZmtcHsCPpunR8jwvEwauehbuH5i
VL1rN77TOMMX+zXj02FP2wwURDo8D9YF0jUC8APt+ZVM4HFHUTzyEO+NvHa/24xK
+QqStXcDCnLf1XN9+ORL3iUCAwEAAQ==
-----END PUBLIC KEY-----
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment