Skip to content

Commit c1d84de

Browse files
committedMay 15, 2016
Include travis build name in dash results (ie qt5/qt4)
1 parent 57d114e commit c1d84de

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed
 

‎.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ matrix:
77
- os: linux
88
language: cpp
99
env:
10+
- BUILD=qt4
1011
- QT_VERSION=4
1112
- LLVM_VERSION=3.8
1213
sudo: false
@@ -58,6 +59,7 @@ matrix:
5859
- os: linux
5960
language: python # This lets us use newer python versions from virtualenv
6061
env:
62+
- BUILD=qt5
6163
- QT_VERSION=5
6264
- LLVM_VERSION=3.8
6365
sudo: false
@@ -89,6 +91,8 @@ matrix:
8991
- clang-3.8
9092
# OSX based build with QT4 and Python 2
9193
- os: osx
94+
env:
95+
- BUILD=osx
9296

9397
git:
9498
depth: 30

‎qgis-test-travis.ctest

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ SET (CTEST_BUILD_COMMAND "/usr/bin/make -j2 -i -k")
99
SET (CTEST_SITE "travis-ci.org")
1010
IF ($ENV{TRAVIS_PULL_REQUEST} STREQUAL "false")
1111
# No pull request
12-
SET (CTEST_BUILD_NAME "$ENV{TRAVIS_BRANCH} ($ENV{TRAVIS_COMMIT})")
12+
SET (CTEST_BUILD_NAME "$ENV{TRAVIS_BRANCH} ($ENV{BUILD}) ($ENV{TRAVIS_COMMIT})")
1313
ELSE()
14-
SET (CTEST_BUILD_NAME "PR: $ENV{TRAVIS_PULL_REQUEST} / $ENV{TRAVIS_BRANCH} ($ENV{TRAVIS_COMMIT})")
14+
SET (CTEST_BUILD_NAME "PR: $ENV{TRAVIS_PULL_REQUEST} / $ENV{TRAVIS_BRANCH} ($ENV{BUILD}) ($ENV{TRAVIS_COMMIT})")
1515
ENDIF()
1616
SET (CTEST_BUILD_CONFIGURATION "Release")
1717
SET (CTEST_TEST_TIMEOUT 60) # 60 seconds

0 commit comments

Comments
 (0)
Please sign in to comment.