<commit_before>language: c++

matrix:
  include:
    - os: linux
      dist: trusty
      sudo: required
      compiler: gcc
      env: PYTHON_VERSION=3.4.3
    - os: linux
      dist: trusty
      sudo: required
      compiler: clang
      env: PYTHON_VERSION=3.4.3
    - os: linux
      dist: xenial
      sudo: required
      compiler: clang
      env: PYTHON_VERSION=3.5.6
    - os: osx
      osx_image: xcode7.2
      env: PYTHON_VERSION=3.4.3
    - os: osx
      osx_image: xcode8.3
      env: PYTHON_VERSION=3.4.3
    - os: osx
      osx_image: xcode9.3
      env: PYTHON_VERSION=3.4.3
    - os: osx
      osx_image: xcode7.2
      env: PYTHON_VERSION=3.5.6
    - os: osx
      osx_image: xcode8.3
      env: PYTHON_VERSION=3.5.6
    - os: osx
      osx_image: xcode9.3
      env: PYTHON_VERSION=3.5.6
    - os: osx
      osx_image: xcode7.2
      env: PYTHON_VERSION=3.6.7
    - os: osx
      osx_image: xcode8.3
      env: PYTHON_VERSION=3.6.7
    - os: osx
      osx_image: xcode9.3
      env: PYTHON_VERSION=3.6.7

before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then date -u; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then uname -a; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install mesa-common-dev libgl1-mesa-dev mesa-utils-extra libglapi-mesa ninja-build libqt4-dev qt4-qmake libqt4-opengl-dev; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then travis_wait 30 scripts/getQt4Mac.sh; fi

script:
  - cd bin
  - cmake -GNinja -DTRAVIS_BUILD:BOOL=ON -DUSER_PYTHON_VERSION="${PYTHON_VERSION}" ../Superbuild
  - travis_wait 80 ninja
  - cd SCIRun
  - ./Algorithm_Layer_Test
  - ./Modules_Factory_Tests --gtest_filter=*HardCodedModuleFactoryTests*

notifications:
  slack: sciinstitute:lZnpQQXNd4Io5iGDPQDpJmI1<commit_msg>Attempt travis ospray build<commit_after>language: c++

matrix:
  include:
    - os: linux
      dist: trusty
      sudo: required
      compiler: gcc
      env: PYTHON_VERSION=3.4.3 OSPRAY_BUILD=OFF
    - os: linux
      dist: trusty
      sudo: required
      compiler: clang
      env: PYTHON_VERSION=3.4.3 OSPRAY_BUILD=OFF
    - os: linux
      dist: xenial
      sudo: required
      compiler: clang
      env: PYTHON_VERSION=3.5.6 OSPRAY_BUILD=OFF
    - os: linux
      dist: xenial
      sudo: required
      compiler: clang
      env: PYTHON_VERSION=3.5.6 OSPRAY_BUILD=ON
    - os: osx
      osx_image: xcode7.2
      env: PYTHON_VERSION=3.4.3 OSPRAY_BUILD=OFF
    - os: osx
      osx_image: xcode8.3
      env: PYTHON_VERSION=3.4.3 OSPRAY_BUILD=OFF
    - os: osx
      osx_image: xcode9.3
      env: PYTHON_VERSION=3.4.3 OSPRAY_BUILD=OFF
    - os: osx
      osx_image: xcode7.2
      env: PYTHON_VERSION=3.5.6 OSPRAY_BUILD=OFF
    - os: osx
      osx_image: xcode8.3
      env: PYTHON_VERSION=3.5.6 OSPRAY_BUILD=OFF
    - os: osx
      osx_image: xcode9.3
      env: PYTHON_VERSION=3.5.6 OSPRAY_BUILD=OFF
    - os: osx
      osx_image: xcode9.3
      env: PYTHON_VERSION=3.5.6 OSPRAY_BUILD=ON
    - os: osx
      osx_image: xcode7.2
      env: PYTHON_VERSION=3.6.7 OSPRAY_BUILD=OFF
    - os: osx
      osx_image: xcode8.3
      env: PYTHON_VERSION=3.6.7 OSPRAY_BUILD=OFF
    - os: osx
      osx_image: xcode9.3
      env: PYTHON_VERSION=3.6.7 OSPRAY_BUILD=OFF

before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then date -u; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then uname -a; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install mesa-common-dev libgl1-mesa-dev mesa-utils-extra libglapi-mesa ninja-build libqt4-dev qt4-qmake libqt4-opengl-dev; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then travis_wait 30 scripts/getQt4Mac.sh; fi

script:
  - cd bin
  - cmake -GNinja -DTRAVIS_BUILD:BOOL=ON -DUSER_PYTHON_VERSION="${PYTHON_VERSION}" -DWITH_OSPRAY="${OSPRAY_BUILD}" ../Superbuild
  - travis_wait 80 ninja
  - cd SCIRun
  - ./Algorithm_Layer_Test
  - ./Modules_Factory_Tests --gtest_filter=*HardCodedModuleFactoryTests*

notifications:
  slack: sciinstitute:lZnpQQXNd4Io5iGDPQDpJmI1
{'fraction_non_alphanumeric': 0.11708542713567839, 'fraction_numerical': 0.035175879396984924, 'mean_word_length': 2.5832583258325834, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5764142', 'n_tokens_mistral': 1731, 'n_tokens_neox': 1693, 'n_words': 325}