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 +17
-7
lines changed Expand file tree Collapse file tree 4 files changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -97,8 +97,8 @@ deploy:
9797 bucket : openweave
9898 skip_cleanup : true
9999 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 "
102102 on :
103103 repo : openweave/openweave-core
104104 tags : true
Original file line number Diff line number Diff line change @@ -36,5 +36,5 @@ bundle update
3636
3737dpl --provider=gcs --access-key-id=GOOGNPZYTVTEPZM5VBRAVVUU \
3838 --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 \
4040 --acl=public-read --skip_cleanup=true
Original file line number Diff line number Diff line change @@ -160,6 +160,10 @@ case "${BUILD_TARGET}" in
160160
161161 installdeps " happy-deps"
162162
163+ # install lcov
164+ sudo apt-get update
165+ sudo apt-get install lcov
166+
163167 cd $HOME
164168 git clone https://github.com/openweave/happy.git
165169 cd ${HOME} /happy
Original file line number Diff line number Diff line change 3838# ##############################################################
3939gcc_check_happy ()
4040{
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 "
4343
4444 if [ " lwip" in " ${BUILD_TARGET} " ]; then
4545 build_cmd=" $cmd_start USE_LWIP=1 $cmd_end "
@@ -49,11 +49,17 @@ gcc_check_happy()
4949 build_folder=" x86_64-unknown-linux-gnu"
5050 fi
5151
52- mkdir -p $TRAVIS_BUILD_DIR /happy-test-logs /$1
52+ mkdir -p $TRAVIS_BUILD_DIR /build_artifacts /$1
5353 eval $build_cmd
5454 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
5657 echo " please check happy-test-log/<UTC time> under link: https://storage.cloud.google.com/openweave"
58+ path = $TRAVIS_BUILD_DIR /build_artifacts/$1 /
59+ ls $path
60+ echo " ===========ls happy==============="
61+ ls $path /happy/
62+ echo $path
5763 return ${make_status}
5864}
5965
You can’t perform that action at this time.
0 commit comments