Skip to content

Commit 221e923

Browse files
committed
Create cov-int archive from CI_PROJECT_DIR in Travis CI config
1 parent fd6e9e1 commit 221e923

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/travis/script.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ elif [ "$SCAN" = "coverity" ] && [ "$TRAVIS_BRANCH" = "coverity" ]; then
3434
${COVERITY_DIR}/cov-configure --gcc
3535
${COVERITY_DIR}/cov-build --dir ${CI_PROJECT_DIR}/cov-int make
3636
ls ${CI_PROJECT_DIR}/cov-int
37-
tar czvf ${CI_PROJECT_DIR}/cov-int.tgz ${CI_PROJECT_DIR}/cov-int
38-
tar tzvf ${CI_PROJECT_DIR}/cov-int.tgz
37+
cd ${CI_PROJECT_DIR}
38+
tar czvf cov-int.tgz cov-int
39+
tar tzvf cov-int.tgz
3940

4041
curl --form token="${COVERITY_TOKEN}" \
4142
--form email="${COVERITY_EMAIL}" \

0 commit comments

Comments
 (0)