Added condition of tag in travis
earlier the release builds were building on every build
now the condition will not allow to build on non tagged commits
@@ -13,7 +13,8 @@ jobs:
include:
# OS X Clang
- - os: osx
+ - stage: "Supported Platforms and Compilers"
+ os: osx
osx_image: xcode9.3
env: C_COMPILER=clang CXX_COMPILER=clang++
before_install:
@@ -126,7 +127,8 @@ jobs:
- libboost-log1.55-dev
- ninja-build
- - stage: "Linux release"
+ - stage: "Release Builds"
+ if: tag IS present
deploy:
provider: releases
api_key: $GITHUB_TOKEN
@@ -156,7 +158,8 @@ jobs:
- libboost-regex1.55-dev
- libboost-log1.55-dev
- ninja-build
- - stage: "Mac release"
+
+ - if: tag IS present
deploy:
provider: releases
api_key: $GITHUB_TOKEN
