language: cpp compiler: clang branches: only: - master matrix: include: - os: linux addons: apt: sources: - ubuntu-toolchain-r-test packages: - libc++-dev - os: osx osx_image: xcode9.1 # Build steps script: - mkdir build - cd build - cmake .. && make - cd archive - tar czf kraken-${TRAVIS_OS_NAME}-${TRAVIS_TAG}.tar.gz * deploy: provider: releases api_key: $GITHUB_TOKEN file: "build/archive/kraken-${TRAVIS_OS_NAME}-${TRAVIS_TAG}.tgz" skip_cleanup: true on: tags: true