sudo: false
language: cpp
compiler: g++

before_script:
    - cmake -G "Unix Makefiles" -B./build -H./
    
script:    
    - cmake --build ./build --target all
    - ./build/test/CodeTestCheck --reporter=spec

deploy:
    provider: releases
    api_key:
        secure: ${GITHUB_AUTH}
    file: 
        - ./build/app/CodeTestApp
    skip_cleanup: true
    on:
        tags: true

sudo: false
language: cpp
compiler: g++

addons:
  apt:
    sources:
        - sourceline: 'ppa:smspillaz/cmake-2.8.12'
    packages:
        - cmake-data 
        - cmake

before_script:
    - cmake -G "Unix Makefiles" -B./build -H./
    
script:    
    - cmake --build ./build --target all
    - ./build/test/CodeTestCheck --reporter=spec

deploy:
    provider: releases
    api_key:
        secure: ${GITHUB_AUTH}
    file: 
        - ./build/app/CodeTestApp
    skip_cleanup: true
    on:
        tags: true

Add cmake 2.8.12 installation because cotire library requires.
Add cmake 2.8.12 installation because cotire library requires.
