summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2018-01-15 00:57:25 (GMT)
committerYann Collet <cyan@fb.com>2018-01-15 00:57:25 (GMT)
commitb077a99347a384225d03f5458c2b57bedb134c62 (patch)
treeca1440d172263fcb4964f7b5e8cb6ba8a3072b9b /.travis.yml
parentdfed9fa1d77f0434306d377c4da1f7191d3ba08a (diff)
downloadlz4-b077a99347a384225d03f5458c2b57bedb134c62.zip
lz4-b077a99347a384225d03f5458c2b57bedb134c62.tar.gz
lz4-b077a99347a384225d03f5458c2b57bedb134c62.tar.bz2
added checkTag
checkTag verifies that provided tag and library version match. It's started automatically in circleCI when a new tag is created.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 3353dee..9dea485 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -145,7 +145,15 @@ matrix:
- gcc-multilib
- gcc-4.4
+ # tag-specific test
+ - if: tag =~ ^v[0-9]\.[0-9]
+ os: linux
+ sudo: false
+ env: Cmd="make -C tests checkTag && tests/checkTag $TRAVIS_BRANCH " COMPILER=cc
+
+
script:
+ - uname -a
- echo Cmd=$Cmd
- $COMPILER -v
- sh -c "$Cmd"