
notifications:
  email:
    on_success: never
    on_failure: always

matrix:
  include:
    - os: linux
      dist: trusty
      sudo: false
      language: generic
      env: RELEASE=1
      # addons:
      #   apt:
      #     packages:
      #       - qemu-system-x86

    - os: linux
      dist: trusty
      sudo: false
      language: generic
      env: RELEASE=0 USE_GCOV=on
      # addons:
      #   apt:
      #     packages:
      #       - qemu-system-x86
    - os: linux
      dist: trusty
      sudo: false
      language: generic
      env: RELEASE=0 USE_GCOV=on CXX=clang++


before_install:
  - ./scripts/build_toolchain --skip-install-pkgs

install:
  - make
  - make gtests

script:
  - MALLOC_CHECK_=2 ./build/gtests
  - ./scripts/generate_coverage_report # Does nothing if not USE_GCOV.
#  - ./system_tests/run_system_test



notifications:
  email:
    on_success: never
    on_failure: always

# In order to ask travis to install packages:
# sudo: required AND under matrix/include:
# addons:
#   apt:
#     packages:
#       - qemu-system-x86
# [ at the same level of env ]

matrix:
  include:
    - os: linux
      dist: trusty
      sudo: false
      language: generic
      env: RELEASE=1
    - os: linux
      dist: trusty
      sudo: false
      language: generic
      env: RELEASE=0 USE_GCOV=on
    - os: linux
      dist: trusty
      sudo: false
      language: generic
      env: RELEASE=0 CXX=clang++


before_install:
  - ./scripts/build_toolchain --skip-install-pkgs

install:
  - make
  - make gtests

script:
  - MALLOC_CHECK_=2 ./build/gtests
  - ./scripts/generate_coverage_report # Does nothing if not USE_GCOV.



Fix a problem with the new clang target
[build] Fix a problem with the new clang target
