Verified Commit 87be1dff authored by A. Wilcox's avatar A. Wilcox 🦊
Browse files

travis: Fixes

parent 8ff9d4c6
......@@ -5,7 +5,7 @@ dist: xenial
sudo: required
language: minimal
- sudo sh .travis/install
- sudo .travis/install
script: |
. .travis/config
sudo chroot $NEWROOT su -l $USER sh -c "cd $CLONE_DIR; make LINKER_PATH=/lib/"
#!/bin/sh -e
. $(dirname $0)/config
curl -O
curl -O
tar -xzOf x86_64.apk sbin/apk.static > /tmp/apk.static
mkdir -p "$NEWROOT"/etc/apk
/tmp/apk.static -X "" --root "$NEWROOT" --initdb --no-progress add adelie-core bash-binsh musl-dev gcc binutils
pushd "$NEWROOT"
mount -t proc none proc
mount -t sysfs none sys
......@@ -17,6 +17,4 @@ mount -R /run run
ln -s /run/shm dev/shm
mkdir ./$CLONE_DIR
useradd -m -c "Travis User" -s /bin/sh -G wheel -u $SUDO_UID $SUDO_USER
chroot "$NEWROOT" useradd -m -c "Travis User" -s /bin/sh -G wheel -u $SUDO_UID $SUDO_USER
Supports Markdown
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