Pass TRAVIS env var

This commit is contained in:
Nekotekina 2017-12-20 22:10:00 +03:00
parent f24491de84
commit a08e79f426
1 changed files with 5 additions and 4 deletions

View File

@ -59,6 +59,7 @@ before_script:
- mkdir build
- cd build
- export CMAKE_PREFIX_PATH=~/Qt/5.10.0/gcc_64/lib/cmake
- export CXXFLAGS="$CXXFLAGS -DTRAVIS=true";
- if [ "$TRAVIS_PULL_REQUEST" = false ]; then
export CXXFLAGS="$CXXFLAGS -DBRANCH=$TRAVIS_REPO_SLUG/$TRAVIS_BRANCH";
else