Skip to content
Permalink
Browse files

Configure TCMS_BUILD to be commit hash instead of TRAVIS_BUILD_NUMBER

shorten the hash to the first 7 digits
  • Loading branch information...
atodorov committed Feb 20, 2019
1 parent df6153b commit bf75d0abe9695e3ee3b49b8944bab9db43bb25e6
Showing with 1 addition and 0 deletions.
  1. +1 −0 bin/test.sh
@@ -3,6 +3,7 @@
# Execute this from the project root directory

export TCMS_PRODUCT_VERSION=$TRAVIS_BRANCH
export TCMS_BUILD=`echo $TRAVIS_COMMIT | cut -c1-7`

nosetests --with-tap --tap-stream 2> output.tap
tcms-tap-plugin output.tap

0 comments on commit bf75d0a

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.