language: cpp

matrix:
  include:
    - env: NAME="Linux Build"
      os: linux
      dist: trusty
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - gcc-7
            - g++-7
      install: ./.travis/build-x86_64-linux/deps.sh
      script: ./.travis/build-x86_64-linux/build.sh
    - env: NAME="Test - Fuzz against Unicorn"
      os: linux
      dist: trusty
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - gcc-7
            - g++-7
            - llvm-dev
      install: ./.travis/test-a64-on-x86_64-linux/deps.sh
      script: ./.travis/test-a64-on-x86_64-linux/build.sh
    - env: NAME="Test - SSE3 only"
      os: linux
      dist: trusty
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - gcc-7
            - g++-7
            - llvm-dev
      install: ./.travis/sse3-only-on-x86_64-linux/deps.sh
      script: ./.travis/sse3-only-on-x86_64-linux/build.sh
    - env: NAME="macOS Build"
      os: osx
      sudo: false
      osx_image: xcode9.2
      install: ./.travis/build-x86_64-macos/deps.sh
      script: ./.travis/build-x86_64-macos/build.sh
