sudo: required # needed for trusty beta
dist: trusty   # needed for HarfBuzz

language: c


compiler:
  - clang
  - gcc

before_script:
  - sudo add-apt-repository -y ppa:as-bahanta/raqm
  - sudo add-apt-repository ppa:dns/gnu -y
  - sudo apt-key update -q
  - sudo apt-get update -q
  - sudo apt-get install --only-upgrade autoconf
  - sudo apt-get install -y libraqm-dev libfreetype6-dev libharfbuzz-dev libfribidi-dev

script:
    - export OMP_NUM_THREADS=1
    - export CFLAGS="-Wno-deprecated-declarations -Wdeclaration-after-statement -Wno-error=unused-variable"
    - ./configure --disable-openmp --with-quantum-depth=16 --enable-hdri=no --with-perl
    - make
#    - cd PerlMagick
#    - perl Makefile.PL
#    - make
