|
@@ -24,9 +24,12 @@ notifications:
|
|
|
before_install:
|
|
|
- sudo apt-get update -qq
|
|
|
# These packages are already part of the Travis image:
|
|
|
-#- sudo apt-get install -y g++-9 libstdc++-9-dev cmake shellcheck
|
|
|
+#- sudo apt-get install -y cmake shellcheck
|
|
|
+# Remove GCC 9 (installed by default) and replace it with GCC 10:
|
|
|
+- sudo apt-get purge -y g++-9 libstdc++-9-dev
|
|
|
# These aren't:
|
|
|
-- sudo apt-get install -y libmpfr-dev libmpc-dev libgmp-dev clang-format-10
|
|
|
+- sudo apt-get install -y g++-10 libstdc++-10-dev libmpfr-dev libmpc-dev libgmp-dev clang-format-10
|
|
|
+- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 60 --slave /usr/bin/g++ g++ /usr/bin/g++-10
|
|
|
# If we ever do any qemu-emulation on Travis, we should re-enable this:
|
|
|
#- e2fsprogs qemu-system-i386 qemu-utils
|
|
|
- g++ --version
|