before_script:
 - |
    apt-key adv -q --batch --yes --keyserver keyserver.ubuntu.com --recv-keys AA12E97F0881517F &&
    add-apt-repository 'deb https://static.redox-os.org/toolchain/apt ./' &&
    apt-get update -qq &&
    apt-get purge -qq binutils-doc &&
    apt-get install -qq build-essential nasm pkg-config fuse libfuse-dev genisoimage syslinux realpath x86-64-unknown-redox-gcc &&
    modprobe fuse &&
    chmod 666 /dev/fuse &&
    chown root:$USER /etc/fuse.conf &&
    curl https://sh.rustup.rs -sSf | sh

build:
   script:
     - make ci

before_script:
 - |
    apt-get install -qq build-essential gnupg nasm pkg-config fuse libfuse-dev genisoimage syslinux realpath &&
    apt-key adv -q --batch --yes --keyserver keyserver.ubuntu.com --recv-keys AA12E97F0881517F &&
    add-apt-repository 'deb https://static.redox-os.org/toolchain/apt ./' &&
    apt-get update -qq &&
    apt-get purge -qq binutils-doc &&
    apt-get install -qq x86-64-unknown-redox-gcc &&
    modprobe fuse &&
    chmod 666 /dev/fuse &&
    chown root:$USER /etc/fuse.conf &&
    curl https://sh.rustup.rs -sSf | sh

build:
   script:
     - make ci

Install dependencies for apt-key before adding toolchain repo
Install dependencies for apt-key before adding toolchain repo
