Skip to content
Permalink
Browse files

Include travis build name in dash results (ie qt5/qt4)

  • Loading branch information
nyalldawson committed May 13, 2016
1 parent 57d114e commit c1d84dee96593ae31f95a07349773726d7d319b0
Showing with 6 additions and 2 deletions.
  1. +4 −0 .travis.yml
  2. +2 −2 qgis-test-travis.ctest
@@ -7,6 +7,7 @@ matrix:
- os: linux
language: cpp
env:
- BUILD=qt4
- QT_VERSION=4
- LLVM_VERSION=3.8
sudo: false
@@ -58,6 +59,7 @@ matrix:
- os: linux
language: python # This lets us use newer python versions from virtualenv
env:
- BUILD=qt5
- QT_VERSION=5
- LLVM_VERSION=3.8
sudo: false
@@ -89,6 +91,8 @@ matrix:
- clang-3.8
# OSX based build with QT4 and Python 2
- os: osx
env:
- BUILD=osx

git:
depth: 30
@@ -9,9 +9,9 @@ SET (CTEST_BUILD_COMMAND "/usr/bin/make -j2 -i -k")
SET (CTEST_SITE "travis-ci.org")
IF ($ENV{TRAVIS_PULL_REQUEST} STREQUAL "false")
# No pull request
SET (CTEST_BUILD_NAME "$ENV{TRAVIS_BRANCH} ($ENV{TRAVIS_COMMIT})")
SET (CTEST_BUILD_NAME "$ENV{TRAVIS_BRANCH} ($ENV{BUILD}) ($ENV{TRAVIS_COMMIT})")
ELSE()
SET (CTEST_BUILD_NAME "PR: $ENV{TRAVIS_PULL_REQUEST} / $ENV{TRAVIS_BRANCH} ($ENV{TRAVIS_COMMIT})")
SET (CTEST_BUILD_NAME "PR: $ENV{TRAVIS_PULL_REQUEST} / $ENV{TRAVIS_BRANCH} ($ENV{BUILD}) ($ENV{TRAVIS_COMMIT})")
ENDIF()
SET (CTEST_BUILD_CONFIGURATION "Release")
SET (CTEST_TEST_TIMEOUT 60) # 60 seconds

0 comments on commit c1d84de

Please sign in to comment.
You can’t perform that action at this time.