ladybird/.travis.yml
Andreas Kling 26956db5ac Travis: Try to install a modern C++ compiler for host compilations.
It seems like the newest Ubuntu supported by Travis is 16.04. The bundled
gcc is unable to compile the trendy and modern Serenity code, so let's try
to install a newer GCC on the CI bot. :^)
2019-07-10 22:03:46 +02:00

31 lines
672 B
YAML

sudo: require
dist: xenial
language: cpp
compiler:
- gcc
cache:
directories:
- /var/cache/apt/archives/*.deb
notifications:
irc: "chat.freenode.net#serenityos"
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- sudo apt-get install g++-8 libstdc++-8-dev
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 90
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 90
- sudo apt-get install -y libmpfr-dev libmpc-dev libgmp-dev
- sudo apt-get install -y e2fsprogs qemu-system-i386 qemu-utils
script:
- cd Toolchain
- ./BuildIt.sh
- source ./UseIt.sh
- cd ../Kernel
- ./makeall.sh