<commit_before>##===-------------------------------------------------------------------------------*- yaml -*-===##
##                         _       _
##                        | |     | |
##                    __ _| |_ ___| | __ _ _ __   __ _ 
##                   / _` | __/ __| |/ _` | '_ \ / _` |
##                  | (_| | || (__| | (_| | | | | (_| |
##                   \__, |\__\___|_|\__,_|_| |_|\__, | - GridTools Clang DSL
##                    __/ |                       __/ |
##                   |___/                       |___/
##
##
##  This file is distributed under the MIT License (MIT). 
##  See LICENSE.txt for details.
##
##===------------------------------------------------------------------------------------------===##


dist: trusty
sudo: false
  
language: c++

addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - g++-5
      - gcc-5
      - g++-6
      - gcc-6
      - clang-3.8
      - clang++-3.8
      - llvm-3.8-dev

os:
  - linux

env:
  global:
    - SCRIPT_DIR=${TRAVIS_BUILD_DIR}/scripts/travis
    - CACHE_DIR=${TRAVIS_BUILD_DIR}/deps/install
    - BOOST_VERSION=1.60.0
    - CMAKE_VERSION=3.8.1
    - PROTOBUF_VERSION=3.4.1

jobs:
  include:
    - &prepare_cache_stage
      stage: Prepare Cache
      compiler: gcc
      env: CXX_COMPILER=g++-5 C_COMPILER=gcc-5
      script: bash ${SCRIPT_DIR}/gtclang-driver-install.sh

    - <<: *prepare_cache_stage
      compiler: clang
      env: CXX_COMPILER=clang++-3.8 C_COMPILER=clang-3.8

    # Linux GCC 5.4 (Release)
    - &test_stage
      stage: Test
      script: bash ${SCRIPT_DIR}/gtclang-driver-test.sh
      compiler: gcc
      env: CONFIG=Release CXX_COMPILER=g++-5 C_COMPILER=gcc-5
    
    # Linux GCC 5.4 (RelWithDebInfo)
    - <<: *test_stage
      compiler: gcc
      env: CONFIG=RelWithDebInfo CXX_COMPILER=g++-5 C_COMPILER=gcc-5

    # Linux GCC 6.3 (Release)
    - <<: *test_stage      
      compiler: gcc
      env: CONFIG=Release CXX_COMPILER=g++-6 C_COMPILER=gcc-6
    
    # Linux GCC 6.3 (RelWithDebInfo)
    - <<: *test_stage      
      compiler: gcc
      env: CONFIG=RelWithDebInfo CXX_COMPILER=g++-6 C_COMPILER=gcc-6

    # Clang 3.8 (Release)
    - <<: *test_stage      
      compiler: clang
      env: CONFIG=Release CXX_COMPILER=clang++-3.8 C_COMPILER=clang-3.8

    # Clang 3.8 (RelWithDebInfo)
    - <<: *test_stage      
      compiler: clang
      env: CONFIG=RelWithDebInfo CXX_COMPILER=clang++-3.8 C_COMPILER=clang-3.8

    # Clang 4.0 (Release)
    - <<: *test_stage      
      compiler: clang
      env: CONFIG=Release CXX_COMPILER=clang++-3.8 C_COMPILER=clang-3.8 CLANG_VERSION=4.0

    # Clang 4.0 (RelWithDebInfo)
    - <<: *test_stage      
      compiler: clang
      env: CONFIG=RelWithDebInfo CXX_COMPILER=clang++-3.8 C_COMPILER=clang-3.8 CLANG_VERSION=4.0

    # Clang 5.0 (Release)
    - <<: *test_stage      
      compiler: clang
      env: CONFIG=Release CXX_COMPILER=clang++-3.8 C_COMPILER=clang-3.8 CLANG_VERSION=5.0

    # Clang 5.0 (RelWithDebInfo)
    - <<: *test_stage      
      compiler: clang
      env: CONFIG=RelWithDebInfo CXX_COMPILER=clang++-3.8 C_COMPILER=clang-3.8 CLANG_VERSION=5.0

cache:
  directories:
    - ${CACHE_DIR}/dawn
    - ${CACHE_DIR}/boost-${BOOST_VERSION}
    - ${CACHE_DIR}/protobuf-${PROTOBUF_VERSION}
  ccache: true
  apt: true 

branches:
  except:<commit_msg>Fix clang versions<commit_after>##===-------------------------------------------------------------------------------*- yaml -*-===##
##                         _       _
##                        | |     | |
##                    __ _| |_ ___| | __ _ _ __   __ _ 
##                   / _` | __/ __| |/ _` | '_ \ / _` |
##                  | (_| | || (__| | (_| | | | | (_| |
##                   \__, |\__\___|_|\__,_|_| |_|\__, | - GridTools Clang DSL
##                    __/ |                       __/ |
##                   |___/                       |___/
##
##
##  This file is distributed under the MIT License (MIT). 
##  See LICENSE.txt for details.
##
##===------------------------------------------------------------------------------------------===##


dist: trusty
sudo: false
  
language: c++

addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - g++-5
      - gcc-5
      - g++-6
      - gcc-6
      - clang-3.8
      - clang++-3.8
      - llvm-3.8-dev

os:
  - linux

env:
  global:
    - SCRIPT_DIR=${TRAVIS_BUILD_DIR}/scripts/travis
    - CACHE_DIR=${TRAVIS_BUILD_DIR}/deps/install
    - BOOST_VERSION=1.60.0
    - CMAKE_VERSION=3.8.1
    - PROTOBUF_VERSION=3.4.1

jobs:
  include:
    - &prepare_cache_stage
      stage: Prepare Cache
      compiler: gcc
      env: CXX_COMPILER=g++-5 C_COMPILER=gcc-5
      script: bash ${SCRIPT_DIR}/gtclang-driver-install.sh

    - <<: *prepare_cache_stage
      compiler: clang
      env: CXX_COMPILER=clang++-3.8 C_COMPILER=clang-3.8

    # Linux GCC 5.4 (Release)
    - &test_stage
      stage: Test
      script: bash ${SCRIPT_DIR}/gtclang-driver-test.sh
      compiler: gcc
      env: CONFIG=Release CXX_COMPILER=g++-5 C_COMPILER=gcc-5
    
    # Linux GCC 5.4 (RelWithDebInfo)
    - <<: *test_stage
      compiler: gcc
      env: CONFIG=RelWithDebInfo CXX_COMPILER=g++-5 C_COMPILER=gcc-5

    # Linux GCC 6.3 (Release)
    - <<: *test_stage      
      compiler: gcc
      env: CONFIG=Release CXX_COMPILER=g++-6 C_COMPILER=gcc-6
    
    # Linux GCC 6.3 (RelWithDebInfo)
    - <<: *test_stage      
      compiler: gcc
      env: CONFIG=RelWithDebInfo CXX_COMPILER=g++-6 C_COMPILER=gcc-6

    # Clang 3.8 (Release)
    - <<: *test_stage      
      compiler: clang
      env: CONFIG=Release CXX_COMPILER=clang++-3.8 C_COMPILER=clang-3.8

    # Clang 3.8 (RelWithDebInfo)
    - <<: *test_stage      
      compiler: clang
      env: CONFIG=RelWithDebInfo CXX_COMPILER=clang++-3.8 C_COMPILER=clang-3.8

    # Clang 4.0 (Release)
    - <<: *test_stage      
      compiler: clang
      env: CONFIG=Release CXX_COMPILER=clang++-3.8 C_COMPILER=clang-3.8 CLANG_VERSION=4.0.0

    # Clang 4.0 (RelWithDebInfo)
    - <<: *test_stage      
      compiler: clang
      env: CONFIG=RelWithDebInfo CXX_COMPILER=clang++-3.8 C_COMPILER=clang-3.8 CLANG_VERSION=4.0.0

    # Clang 5.0 (Release)
    - <<: *test_stage      
      compiler: clang
      env: CONFIG=Release CXX_COMPILER=clang++-3.8 C_COMPILER=clang-3.8 CLANG_VERSION=5.0.0

    # Clang 5.0 (RelWithDebInfo)
    - <<: *test_stage      
      compiler: clang
      env: CONFIG=RelWithDebInfo CXX_COMPILER=clang++-3.8 C_COMPILER=clang-3.8 CLANG_VERSION=5.0.0

cache:
  directories:
    - ${CACHE_DIR}/dawn
    - ${CACHE_DIR}/boost-${BOOST_VERSION}
    - ${CACHE_DIR}/protobuf-${PROTOBUF_VERSION}
  ccache: true
  apt: true 

branches:
  except:
{'fraction_non_alphanumeric': 0.1874722345624167, 'fraction_numerical': 0.026062490744854137, 'mean_word_length': 1.6538310412573674, 'pattern_counts': {'":': 0, '<': 43, '<?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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '591794', 'n_tokens_mistral': 2600, 'n_tokens_neox': 2451, 'n_words': 379}