

matrix:
  include:
    ###################
    - language: cpp
      compiler: clang
      os: linux
      env:
        - VARIANT=test
        - CXX=clang++
        - CC=clang
      script:
        - dlib/travis/build-and-test.sh

    ###################
    - language: cpp
      compiler: clang
      os: linux
      env:
        - VARIANT=examples
        - CXX=clang++
        - CC=clang
      script:
        - dlib/travis/build-and-test.sh

    ###################
    - language: cpp
      compiler: gcc
      os: linux
      env:
        - VARIANT=test
      script:
        - dlib/travis/build-and-test.sh

    ###################
    - language: cpp
      compiler: gcc
      os: linux
      env:
        - VARIANT=examples
      script:
        - dlib/travis/build-and-test.sh

    ###################
    - language: python
      python: 2.7
      env:
        - VARIANT=python-api
      script:
        - dlib/travis/build-and-test.sh

    ###################
    - language: python
      python: 3.5
      env:
        - VARIANT=python-api
      script:
        - dlib/travis/build-and-test.sh

    ###################
    # # Disabled because travis's OS X machines take hours (or days) to begin
    # running.  Or maybe they are just broken entirely.  Who knows.
    #- language: cpp
    #  os: osx
    #  osx_image: xcode9.2
    #  env:
    #    - VARIANT=test
    #  script:
    #    - dlib/travis/build-and-test.sh
         
          

