Skip to content

Commit 9ee3d59

Browse files
committed
Fix sonarcloud build wrapper path in travis script to address Alpine build failure
1 parent 0999f0a commit 9ee3d59

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/travis/script.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ gcc --version
44
g++ --version
55

66
# Download and unzip the sonarcloud build wrapper
7+
cd $CI_PROJECT_DIR
78
curl -LsS https://sonarcloud.io/static/cpp/build-wrapper-linux-x86.zip > build-wrapper-linux-x86.zip
89
unzip build-wrapper-linux-x86.zip
9-
export SONARCLOUD_DIR=$PWD/build-wrapper-linux-x86
10+
export SONARCLOUD_DIR=$CI_PROJECT_DIR/build-wrapper-linux-x86
1011

1112
export CI_PROJECT_DIR=/pdalc
1213
export CI_PROJECT_NAME=pdal-c

0 commit comments

Comments
 (0)