Commit 5b2d00b5 authored by Paul Asmuth's avatar Paul Asmuth
Browse files

install msttcorefonts (Arial) in the CI environment

parent 0546b174
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -4,10 +4,13 @@ dist: xenial

before_install:
  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
  - sudo bash -c "echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections"
  - sudo apt-get update -qq
  - sudo apt-get install -y gcc-8 g++-8 cmake libcairo2-dev libharfbuzz-dev libfreetype6-dev
  - sudo apt-get install -y gcc-8 g++-8 cmake libcairo2-dev libharfbuzz-dev libfreetype6-dev msttcorefonts ttf-mscorefonts-installer
  - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 90
  - sudo fc-cache

script:
  - fc-match "Arial,Helvetica,Helvetica Neue:style=Regular,Roman"
  - cmake .
  - make all test CTEST_OUTPUT_ON_FAILURE=1