Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 30 lines (20 sloc) 875 Bytes
#!/usr/bin/env bash
# DO NOT RUN THIS SCRIPT OUTSIDE OF TRAVIS/DOCKER!
set -e
echo "Building OpenRCT2/OpenMusic inside Travis CI"
pacman -Syu --noconfirm
pacman -S --noconfirm base base-devel shadow sudo git python python-requests python-regex python-dateutil python-feedparser pyalpm expac ninja ttf-dejavu graphviz libsmf lv2 lilv cmake lilypond fluidsynth calf sox opus-tools curl openssh
echo "%wheel ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
useradd -m -G wheel -s /usr/bin/bash build
TEMPDIR=$(mktemp -d)
git clone "https://github.com/polygamma/aurman.git" $TEMPDIR
cd $TEMPDIR
chmod 777 -R .
chown -R build .
sudo -u build makepkg --skipinteg --install --noconfirm
sudo -u build aurman -S --noconfirm --noedit --skip_news --skip_new_locations lv2file
export PATH="$PATH:/usr/bin/vendor_perl"
cd /root/build
./getdependencies.sh --agree
./geninja.sh
./build.sh