This repository was archived by the owner on Dec 20, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +13
-7
lines changed Expand file tree Collapse file tree 4 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -97,8 +97,8 @@ deploy:
97
97
bucket : openweave
98
98
skip_cleanup : true
99
99
acl : public-read
100
- upload-dir : happy-test-log /$TRAVIS_BUILD_NUMBER
101
- local-dir : " $TRAVIS_BUILD_DIR/happy-test-logs "
100
+ upload-dir : openweave-core-build-artifacts /$TRAVIS_BUILD_NUMBER
101
+ local-dir : " $TRAVIS_BUILD_DIR/build_artifacts "
102
102
on :
103
103
repo : openweave/openweave-core
104
104
tags : true
Original file line number Diff line number Diff line change @@ -36,5 +36,5 @@ bundle update
36
36
37
37
dpl --provider=gcs --access-key-id=GOOGNPZYTVTEPZM5VBRAVVUU \
38
38
--secret-access-key=$GCSKEY --bucket=openweave \
39
- --local-dir=$TRAVIS_BUILD_DIR /happy-test-logs --upload-dir=happy-test-log/$TRAVIS_BUILD_NUMBER \
39
+ --local-dir=$TRAVIS_BUILD_DIR /build_artifacts --upload-dir=happy-test-log/$TRAVIS_BUILD_NUMBER \
40
40
--acl=public-read --skip_cleanup=true
Original file line number Diff line number Diff line change @@ -160,6 +160,10 @@ case "${BUILD_TARGET}" in
160
160
161
161
installdeps " happy-deps"
162
162
163
+ # install lcov
164
+ sudo apt-get update
165
+ sudo apt-get install lcov
166
+
163
167
cd $HOME
164
168
git clone https://github.com/openweave/happy.git
165
169
cd ${HOME} /happy
Original file line number Diff line number Diff line change 38
38
# ##############################################################
39
39
gcc_check_happy ()
40
40
{
41
- cmd_start=" sudo make -f Makefile-Standalone DEBUG=1 TIMESTAMP=1 COVERAGE=1 "
42
- cmd_end=" BuildJobs=24 check "
41
+ cmd_start=" sudo make -f Makefile-Standalone DEBUG=1 TIMESTAMP=1 COVERAGE=1"
42
+ cmd_end=" BuildJobs=24 coverage "
43
43
44
44
if [ " lwip" in " ${BUILD_TARGET} " ]; then
45
45
build_cmd=" $cmd_start USE_LWIP=1 $cmd_end "
@@ -49,11 +49,13 @@ gcc_check_happy()
49
49
build_folder=" x86_64-unknown-linux-gnu"
50
50
fi
51
51
52
- mkdir -p $TRAVIS_BUILD_DIR /happy-test-logs /$1
52
+ mkdir -p $TRAVIS_BUILD_DIR /build_artifacts /$1
53
53
eval $build_cmd
54
54
make_status=${?}
55
- cp $TRAVIS_BUILD_DIR /build/$build_folder /src/test-apps/happy $TRAVIS_BUILD_DIR /happy-test-logs/$1 -rf
55
+ cp $TRAVIS_BUILD_DIR /build/$build_folder /src/test-apps/happy $TRAVIS_BUILD_DIR /build_artifacts/$1 -rf
56
+ cp $TRAVIS_BUILD_DIR /build/$build_folder /src/test-apps/* .lcov $TRAVIS_BUILD_DIR /build_artifacts/$1 -rf
56
57
echo " please check happy-test-log/<UTC time> under link: https://storage.cloud.google.com/openweave"
58
+ ls $TRAVIS_BUILD_DIR /build_artifacts/$1 /
57
59
return ${make_status}
58
60
}
59
61
You can’t perform that action at this time.
0 commit comments