<commit_before>language: c

env:
  global:
    secure: "<KEY>


notifications:
   email: 
      - <EMAIL>

script:
   - cat ${TRAVIS_ROOT}/etc/apt/sources.list
#   - echo $CC
#   - echo $CXX
#   - echo ${CC}
#   - echo ${CXX}
   - sudo apt-get install ${CC} ${CXX}
   - make clean
   - make
   - make -C Samples/Linux/SingleMain/
   - make -C Samples/Linux/SingleMainPython/


before_script:
  - wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
  - echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-3.8 main" | sudo tee -a /etc/apt/sources.list
  - echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-3.9 main" | sudo tee -a /etc/apt/sources.list
  - echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-4.0 main" | sudo tee -a /etc/apt/sources.list
  - echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-5.0 main" | sudo tee -a /etc/apt/sources.list
  - echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-6.0 main" | sudo tee -a /etc/apt/sources.list
  - echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-7 main" | sudo tee -a /etc/apt/sources.list
  - echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-8 main" | sudo tee -a /etc/apt/sources.list
  - echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main" | sudo tee -a /etc/apt/sources.list
  - echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial main" | sudo tee -a /etc/apt/sources.list
  - sudo apt-get update -qq
#  - sudo apt-get install clang-3.8 clang++-3.8 clang-3.9 clang++-3.9 clang-4.0 clang++-4.0 clang-5.0 clang++-5.0 clang-6.0 clang++-6.0 clang-7 clang++-7 clang-8 clang++-8 clang-9 clang++-9 clang-10 clang++-10
#  - sudo apt-get install clang-3.8 clang-3.9 clang-4.0 clang-5.0 clang-6.0 clang-7 clang-8 clang-9 clang-10
  
  
compiler: gcc 

#dist: bionic
dist: xenial

addons:
   apt:
      sources: # ['ubuntu-toolchain-r-test'] #, 'llvm-toolchain-xenial']
         - sourceline: "ppa:ubuntu-toolchain-r/test"
#         - sourceline: "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-7 main"
      packages: ['libevent-dev'] # , 'gcc-4.4', 'g++-4.4', 'gcc-4.6', 'g++-4.6', 'gcc-4.7', 'g++-4.7', 'gcc-4.8', 'g++-4.8', 'gcc-4.9', 'g++-4.9', 'gcc-5', 'g++-5', 'gcc-6', 'g++-6', 'gcc-7', 'g++-7', 'gcc-8', 'g++-8', 'gcc-9', 'g++-9'] 

stage: test
        
jobs:
   include:

   ########################################################################################## 
   #     Windows Test ( basiert auf mingw gcc )                                             #
   ##########################################################################################
   
    # - os: windows
      # install: choco install mingw
      # script: 
        # - mingw32-make clean
        # - mingw32-make

   ##########################################################################################
   #     OSX Test                                                                           #
   ##########################################################################################
   
    - os: osx
      osx_image: xcode10
      compiler: clang
      env: CC=clang CXX=clang++
      
      
   ##########################################################################################
   #     Linux Test ( Coveriry )                                                            #<commit_msg>Travis 37<commit_after>language: c

env:
  global:
    secure: "<KEY>


notifications:
   email: 
      - <EMAIL>

script:
   - cat ${TRAVIS_ROOT}/etc/apt/sources.list
#   - echo $CC
#   - echo $CXX
#   - echo ${CC}
#   - echo ${CXX}
   - sudo apt-get install ${CC} ${CXX}
   - make clean
   - make
   - make -C Samples/Linux/SingleMain/
   - make -C Samples/Linux/SingleMainPython/


before_script:
  - wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
  - echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-3.8 main" | sudo tee -a /etc/apt/sources.list
  - echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-3.9 main" | sudo tee -a /etc/apt/sources.list
  - echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-4.0 main" | sudo tee -a /etc/apt/sources.list
  - echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-5.0 main" | sudo tee -a /etc/apt/sources.list
  - echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-6.0 main" | sudo tee -a /etc/apt/sources.list
  - echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-7 main" | sudo tee -a /etc/apt/sources.list
  - echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-8 main" | sudo tee -a /etc/apt/sources.list
  - echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main" | sudo tee -a /etc/apt/sources.list
  - echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial main" | sudo tee -a /etc/apt/sources.list
  - sudo apt-get update -qq
#  - sudo apt-get install clang-3.8 clang++-3.8 clang-3.9 clang++-3.9 clang-4.0 clang++-4.0 clang-5.0 clang++-5.0 clang-6.0 clang++-6.0 clang-7 clang++-7 clang-8 clang++-8 clang-9 clang++-9 clang-10 clang++-10
#  - sudo apt-get install clang-3.8 clang-3.9 clang-4.0 clang-5.0 clang-6.0 clang-7 clang-8 clang-9 clang-10
  
  
compiler: gcc 

#dist: bionic
dist: xenial

addons:
   apt:
      sources: # ['ubuntu-toolchain-r-test'] #, 'llvm-toolchain-xenial']
         - sourceline: "ppa:ubuntu-toolchain-r/test"
#         - sourceline: "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-7 main"
      packages: ['libevent-dev'] # , 'gcc-4.4', 'g++-4.4', 'gcc-4.6', 'g++-4.6', 'gcc-4.7', 'g++-4.7', 'gcc-4.8', 'g++-4.8', 'gcc-4.9', 'g++-4.9', 'gcc-5', 'g++-5', 'gcc-6', 'g++-6', 'gcc-7', 'g++-7', 'gcc-8', 'g++-8', 'gcc-9', 'g++-9'] 

stage: test
        
jobs:
   include:

   ########################################################################################## 
   #     Windows Test ( basiert auf mingw gcc )                                             #
   ##########################################################################################
   
    # - os: windows
      # install: choco install mingw
      # script: 
        # - mingw32-make clean
        # - mingw32-make

   ##########################################################################################
   #     OSX Test                                                                           #
   ##########################################################################################
   
    - os: osx
      osx_image: xcode10
      compiler: clang
      env: CC=clang CXX=clang++
      #python: 3.6
      before_script:
      
      
   ##########################################################################################
   #     Linux Test ( Coveriry )                                                            #
{'fraction_non_alphanumeric': 0.28672775642920484, 'fraction_numerical': 0.028672775642920485, 'mean_word_length': 2.3334975369458126, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 16, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '557487', 'n_tokens_mistral': 2554, 'n_tokens_neox': 2381, 'n_words': 470}