travis_linux_script.sh 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443
  1. #!/bin/bash
  2. set -e
  3. # Sonar code quality
  4. if ! [ -z ${SONAR+x} ]; then
  5. if ([ "${TRAVIS_REPO_SLUG}" != "open62541/open62541" ] ||
  6. [ "${TRAVIS_PULL_REQUEST}" != "false" ] ||
  7. [ "${TRAVIS_BRANCH}" != "master" ]); then
  8. echo "Skipping Sonarcloud on forks"
  9. # Skip on forks
  10. exit 0;
  11. fi
  12. git fetch --unshallow
  13. mkdir -p build && cd build
  14. build-wrapper-linux-x86-64 --out-dir ../bw-output cmake \
  15. -DCMAKE_BUILD_TYPE=Debug \
  16. -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/$PYTHON \
  17. -DUA_BUILD_EXAMPLES=ON \
  18. -DUA_ENABLE_DISCOVERY=ON \
  19. -DUA_ENABLE_DISCOVERY_MULTICAST=ON \
  20. -DUA_ENABLE_ENCRYPTION .. \
  21. && make -j
  22. cd ..
  23. sonar-scanner
  24. exit 0
  25. fi
  26. # Docker build test
  27. if ! [ -z ${DOCKER+x} ]; then
  28. docker build -t open62541 .
  29. docker run -d -p 127.0.0.1:80:80 --name open62541 open62541 /bin/sh
  30. docker ps | grep -q open62541
  31. # disabled since it randomly fails
  32. # docker ps | grep -q open62541
  33. exit 0
  34. fi
  35. # Cpplint checking
  36. if ! [ -z ${LINT+x} ]; then
  37. mkdir -p build
  38. cd build
  39. cmake ..
  40. make cpplint
  41. if [ $? -ne 0 ] ; then exit 1 ; fi
  42. exit 0
  43. fi
  44. # Fuzzer build test
  45. if ! [ -z ${FUZZER+x} ]; then
  46. # Test the corpus generator and use new corpus for fuzz test
  47. ./tests/fuzz/generate_corpus.sh
  48. if [ $? -ne 0 ] ; then exit 1 ; fi
  49. cd build_fuzz
  50. make && make run_fuzzer
  51. if [ $? -ne 0 ] ; then exit 1 ; fi
  52. exit 0
  53. fi
  54. # INSTALL build test
  55. if ! [ -z ${INSTALL+x} ]; then
  56. # Use make install to deploy files and then test if we can build an example based on the installed files
  57. mkdir -p build
  58. cd build
  59. cmake \
  60. -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/$PYTHON \
  61. -DBUILD_SHARED_LIBS=ON \
  62. -DCMAKE_BUILD_TYPE=RelWithDebInfo \
  63. -DUA_NAMESPACE_ZERO=FULL \
  64. -DUA_ENABLE_AMALGAMATION=OFF \
  65. -DCMAKE_INSTALL_PREFIX=$TRAVIS_BUILD_DIR/open62541_install ..
  66. make install
  67. if [ $? -ne 0 ] ; then exit 1 ; fi
  68. cd .. && rm build -rf
  69. # Now create a simple CMake Project which uses the installed file
  70. mkdir compile && cd compile
  71. cat > CMakeLists.txt <<- EOM
  72. cmake_minimum_required(VERSION 2.8)
  73. project(install-test)
  74. find_package(open62541 REQUIRED COMPONENTS FullNamespace)
  75. add_executable(install-test-example ../examples/tutorial_server_firststeps.c)
  76. target_link_libraries(install-test-example open62541)
  77. EOM
  78. cmake \
  79. -DCMAKE_PREFIX_PATH=$TRAVIS_BUILD_DIR/open62541_install .
  80. make -j
  81. if [ $? -ne 0 ] ; then exit 1 ; fi
  82. cd ..
  83. rm -rf compile
  84. exit 0
  85. fi
  86. if [ $ANALYZE = "true" ]; then
  87. echo "=== Running static code analysis ===" && echo -en 'travis_fold:start:script.analyze\\r'
  88. if ! case $CC in clang*) false;; esac; then
  89. mkdir -p build
  90. cd build
  91. scan-build-6.0 cmake \
  92. -DUA_BUILD_EXAMPLES=ON \
  93. -DUA_BUILD_UNIT_TESTS=ON ..
  94. scan-build-6.0 -enable-checker security.FloatLoopCounter \
  95. -enable-checker security.insecureAPI.UncheckedReturn \
  96. --status-bugs -v \
  97. make -j
  98. cd .. && rm build -rf
  99. mkdir -p build
  100. cd build
  101. scan-build-6.0 cmake \
  102. -DUA_ENABLE_PUBSUB=ON \
  103. -DUA_ENABLE_PUBSUB_DELTAFRAMES=ON \
  104. -DUA_ENABLE_PUBSUB_INFORMATIONMODEL=ON ..
  105. scan-build-6.0 -enable-checker security.FloatLoopCounter \
  106. -enable-checker security.insecureAPI.UncheckedReturn \
  107. --status-bugs -v \
  108. make -j
  109. cd .. && rm build -rf
  110. mkdir -p build
  111. cd build
  112. scan-build-6.0 cmake \
  113. -DUA_ENABLE_AMALGAMATION=OFF ..
  114. scan-build-6.0 -enable-checker security.FloatLoopCounter \
  115. -enable-checker security.insecureAPI.UncheckedReturn \
  116. --status-bugs -v \
  117. make -j
  118. cd .. && rm build -rf
  119. else
  120. cppcheck --template "{file}({line}): {severity} ({id}): {message}" \
  121. --enable=style --force --std=c++11 -j 8 \
  122. --suppress=duplicateBranch \
  123. --suppress=incorrectStringBooleanError \
  124. --suppress=invalidscanf --inline-suppr \
  125. -I include src plugins examples 2> cppcheck.txt
  126. if [ -s cppcheck.txt ]; then
  127. echo "====== CPPCHECK Static Analysis Errors ======"
  128. cat cppcheck.txt
  129. # flush output
  130. sleep 5
  131. exit 1
  132. fi
  133. fi
  134. echo -en 'travis_fold:end:script.analyze\\r'
  135. else
  136. echo -en "\r\n=== Building ===\r\n"
  137. echo -e "\r\n== Documentation and certificate build ==" && echo -en 'travis_fold:start:script.build.doc\\r'
  138. mkdir -p build
  139. cd build
  140. cmake \
  141. -DCMAKE_BUILD_TYPE=Release \
  142. -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/$PYTHON \
  143. -DUA_BUILD_EXAMPLES=ON \
  144. -DUA_BUILD_SELFSIGNED_CERTIFICATE=ON ..
  145. make doc
  146. make doc_pdf
  147. make selfsigned
  148. cp -r doc ../../
  149. cp -r doc_latex ../../
  150. cp ./examples/server_cert.der ../../
  151. cd .. && rm build -rf
  152. echo -en 'travis_fold:end:script.build.doc\\r'
  153. # cross compilation only with gcc
  154. if ! [ -z ${MINGW+x} ]; then
  155. echo -e "\r\n== Cross compile release build for MinGW 32 bit ==" && echo -en 'travis_fold:start:script.build.cross_mingw32\\r'
  156. mkdir -p build && cd build
  157. cmake \
  158. -DBUILD_SHARED_LIBS=ON \
  159. -DCMAKE_BUILD_TYPE=RelWithDebInfo \
  160. -DCMAKE_INSTALL_PREFIX=${TRAVIS_BUILD_DIR}/open62541-win32 \
  161. -DCMAKE_TOOLCHAIN_FILE=../tools/cmake/Toolchain-mingw32.cmake \
  162. -DUA_BUILD_EXAMPLES=ON \
  163. -DUA_ENABLE_AMALGAMATION=OFF ..
  164. make -j
  165. if [ $? -ne 0 ] ; then exit 1 ; fi
  166. make install
  167. if [ $? -ne 0 ] ; then exit 1 ; fi
  168. cd ..
  169. zip -r open62541-win32.zip ../doc_latex/open62541.pdf LICENSE AUTHORS README.md open62541-win32/*
  170. rm build -rf
  171. echo -en 'travis_fold:end:script.build.cross_mingw32\\r'
  172. echo -e "\r\n== Cross compile release build for MinGW 64 bit ==" && echo -en 'travis_fold:start:script.build.cross_mingw64\\r'
  173. mkdir -p build && cd build
  174. cmake \
  175. -DBUILD_SHARED_LIBS=ON \
  176. -DCMAKE_BUILD_TYPE=RelWithDebInfo \
  177. -DCMAKE_INSTALL_PREFIX=${TRAVIS_BUILD_DIR}/open62541-win64 \
  178. -DCMAKE_TOOLCHAIN_FILE=../tools/cmake/Toolchain-mingw64.cmake \
  179. -DUA_BUILD_EXAMPLES=ON \
  180. -DUA_ENABLE_AMALGAMATION=OFF ..
  181. make -j
  182. if [ $? -ne 0 ] ; then exit 1 ; fi
  183. make install
  184. if [ $? -ne 0 ] ; then exit 1 ; fi
  185. cd ..
  186. zip -r open62541-win64.zip ../doc_latex/open62541.pdf LICENSE AUTHORS README.md open62541-win64/*
  187. rm build -rf
  188. echo -en 'travis_fold:end:script.build.cross_mingw64\\r'
  189. echo -e "\r\n== Cross compile release build for 32-bit linux ==" && echo -en 'travis_fold:start:script.build.cross_linux\\r'
  190. mkdir -p build && cd build
  191. cmake \
  192. -DBUILD_SHARED_LIBS=ON \
  193. -DCMAKE_BUILD_TYPE=RelWithDebInfo \
  194. -DCMAKE_INSTALL_PREFIX=${TRAVIS_BUILD_DIR}/open62541-linux32 \
  195. -DCMAKE_TOOLCHAIN_FILE=../tools/cmake/Toolchain-gcc-m32.cmake \
  196. -DUA_BUILD_EXAMPLES=ON \
  197. -DUA_ENABLE_AMALGAMATION=OFF ..
  198. make -j
  199. if [ $? -ne 0 ] ; then exit 1 ; fi
  200. make install
  201. if [ $? -ne 0 ] ; then exit 1 ; fi
  202. cd ..
  203. tar -pczf open62541-linux32.tar.gz ../doc_latex/open62541.pdf LICENSE AUTHORS README.md open62541-linux32/*
  204. rm build -rf
  205. echo -en 'travis_fold:end:script.build.cross_linux\\r'
  206. echo -e "\r\n== Cross compile release build for RaspberryPi ==" && echo -en 'travis_fold:start:script.build.cross_raspi\\r'
  207. mkdir -p build && cd build
  208. git clone https://github.com/raspberrypi/tools
  209. export PATH=$PATH:./tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/
  210. cmake \
  211. -DBUILD_SHARED_LIBS=ON \
  212. -DCMAKE_BUILD_TYPE=RelWithDebInfo \
  213. -DCMAKE_INSTALL_PREFIX=${TRAVIS_BUILD_DIR}/open62541-raspberrypi \
  214. -DCMAKE_TOOLCHAIN_FILE=../tools/cmake/Toolchain-rpi64.cmake \
  215. -DUA_BUILD_EXAMPLES=ON \
  216. -DUA_ENABLE_AMALGAMATION=OFF ..
  217. make -j
  218. if [ $? -ne 0 ] ; then exit 1 ; fi
  219. make install
  220. if [ $? -ne 0 ] ; then exit 1 ; fi
  221. cd ..
  222. tar -pczf open62541-raspberrypi.tar.gz ../doc_latex/open62541.pdf LICENSE AUTHORS README.md open62541-raspberrypi/*
  223. rm build -rf
  224. echo -en 'travis_fold:end:script.build.cross_raspi\\r'
  225. fi
  226. echo -e "\r\n== Compile release build for 64-bit linux ==" && echo -en 'travis_fold:start:script.build.linux_64\\r'
  227. mkdir -p build && cd build
  228. cmake \
  229. -DBUILD_SHARED_LIBS=ON \
  230. -DCMAKE_BUILD_TYPE=RelWithDebInfo \
  231. -DCMAKE_INSTALL_PREFIX=${TRAVIS_BUILD_DIR}/open62541-linux64 \
  232. -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/$PYTHON \
  233. -DUA_BUILD_EXAMPLES=ON \
  234. -DUA_ENABLE_AMALGAMATION=OFF ..
  235. make -j
  236. if [ $? -ne 0 ] ; then exit 1 ; fi
  237. make install
  238. if [ $? -ne 0 ] ; then exit 1 ; fi
  239. cd ..
  240. tar -pczf open62541-linux64.tar.gz ../doc_latex/open62541.pdf LICENSE AUTHORS README.md open62541-linux64/*
  241. rm build -rf
  242. echo -en 'travis_fold:end:script.build.linux_64\\r'
  243. echo -e "\r\n== Building the C++ example ==" && echo -en 'travis_fold:start:script.build.example\\r'
  244. mkdir -p build && cd build
  245. cmake \
  246. -DBUILD_SHARED_LIBS=ON \
  247. -DCMAKE_BUILD_TYPE=RelWithDebInfo \
  248. -DCMAKE_INSTALL_PREFIX=${TRAVIS_BUILD_DIR}/open62541-linux64 \
  249. -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/$PYTHON \
  250. -DUA_BUILD_EXAMPLES=OFF \
  251. -DUA_ENABLE_AMALGAMATION=ON ..
  252. make -j
  253. cp open62541.h ../.. # copy single file-release
  254. cp open62541.c ../.. # copy single file-release
  255. gcc -std=c99 -c open62541.c
  256. g++ ../examples/server.cpp -I./ open62541.o -lrt -o cpp-server
  257. if [ $? -ne 0 ] ; then exit 1 ; fi
  258. cd .. && rm build -rf
  259. echo -en 'travis_fold:end:script.build.example\\r'
  260. echo "Compile as shared lib version" && echo -en 'travis_fold:start:script.build.shared_libs\\r'
  261. mkdir -p build && cd build
  262. cmake \
  263. -DBUILD_SHARED_LIBS=ON \
  264. -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/$PYTHON \
  265. -DUA_BUILD_EXAMPLES=ON \
  266. -DUA_ENABLE_AMALGAMATION=OFF ..
  267. make -j
  268. if [ $? -ne 0 ] ; then exit 1 ; fi
  269. cd .. && rm build -rf
  270. echo -en 'travis_fold:end:script.build.shared_libs\\r'
  271. echo "Compile as shared lib version with amalgamation" && echo -en 'travis_fold:start:script.build.shared_libs_amalgamate\\r'
  272. mkdir -p build && cd build
  273. cmake \
  274. -DBUILD_SHARED_LIBS=ON \
  275. -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/$PYTHON \
  276. -DUA_BUILD_EXAMPLES=OFF \
  277. -DUA_ENABLE_AMALGAMATION=ON ..
  278. make -j
  279. if [ $? -ne 0 ] ; then exit 1 ; fi
  280. cd .. && rm build -rf
  281. echo -en 'travis_fold:end:script.build.shared_libs_amalgamate\\r'
  282. if [ "$CC" != "tcc" ]; then
  283. echo -e "\r\n==Compile multithreaded version==" && echo -en 'travis_fold:start:script.build.multithread\\r'
  284. mkdir -p build && cd build
  285. cmake \
  286. -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/$PYTHON \
  287. -DUA_BUILD_EXAMPLES=ON \
  288. -DUA_ENABLE_MULTITHREADING=ON ..
  289. make -j
  290. if [ $? -ne 0 ] ; then exit 1 ; fi
  291. cd .. && rm build -rf
  292. echo -en 'travis_fold:end:script.build.multithread\\r'
  293. fi
  294. echo -e "\r\n== Compile with encryption ==" && echo -en 'travis_fold:start:script.build.encryption\\r'
  295. mkdir -p build && cd build
  296. cmake \
  297. -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/$PYTHON \
  298. -DUA_BUILD_EXAMPLES=ON \
  299. -DUA_ENABLE_ENCRYPTION=ON ..
  300. make -j
  301. if [ $? -ne 0 ] ; then exit 1 ; fi
  302. cd .. && rm build -rf
  303. echo -en 'travis_fold:end:script.build.encryption\\r'
  304. echo -e "\r\n== Compile without discovery version ==" && echo -en 'travis_fold:start:script.build.discovery\\r'
  305. mkdir -p build && cd build
  306. cmake \
  307. -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/$PYTHON \
  308. -DUA_BUILD_EXAMPLES=ON \
  309. -DUA_ENABLE_DISCOVERY=OFF \
  310. -DUA_ENABLE_DISCOVERY_MULTICAST=OFF ..
  311. make -j
  312. if [ $? -ne 0 ] ; then exit 1 ; fi
  313. cd .. && rm build -rf
  314. echo -en 'travis_fold:end:script.build.discovery\\r'
  315. if [ "$CC" != "tcc" ]; then
  316. echo -e "\r\n== Compile multithreaded version with discovery ==" && echo -en 'travis_fold:start:script.build.multithread_discovery\\r'
  317. mkdir -p build && cd build
  318. cmake \
  319. -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/$PYTHON \
  320. -DUA_BUILD_EXAMPLES=ON \
  321. -DUA_ENABLE_DISCOVERY=ON \
  322. -DUA_ENABLE_DISCOVERY_MULTICAST=ON \
  323. -DUA_ENABLE_MULTITHREADING=ON ..
  324. make -j
  325. if [ $? -ne 0 ] ; then exit 1 ; fi
  326. cd .. && rm build -rf
  327. echo -en 'travis_fold:end:script.build.multithread_discovery\\r'
  328. fi
  329. echo -e "\r\n== Compile JSON encoding ==" && echo -en 'travis_fold:start:script.build.json\\r'
  330. mkdir -p build && cd build
  331. cmake \
  332. -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/$PYTHON \
  333. -DUA_ENABLE_JSON_ENCODING=ON ..
  334. make -j
  335. if [ $? -ne 0 ] ; then exit 1 ; fi
  336. cd .. && rm build -rf
  337. echo -en 'travis_fold:end:script.build.json\\r'
  338. echo -e "\r\n== Unit tests (full NS0) ==" && echo -en 'travis_fold:start:script.build.unit_test_ns0_full\\r'
  339. mkdir -p build && cd build
  340. # Valgrind cannot handle the full NS0 because the generated file is too big. Thus run NS0 full without valgrind
  341. cmake \
  342. -DCMAKE_BUILD_TYPE=Debug \
  343. -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/$PYTHON \
  344. -DUA_BUILD_EXAMPLES=ON \
  345. -DUA_BUILD_UNIT_TESTS=ON \
  346. -DUA_ENABLE_COVERAGE=OFF \
  347. -DUA_ENABLE_DA=ON \
  348. -DUA_ENABLE_DISCOVERY=ON \
  349. -DUA_ENABLE_DISCOVERY_MULTICAST=ON \
  350. -DUA_ENABLE_ENCRYPTION=ON \
  351. -DUA_ENABLE_JSON_ENCODING=ON \
  352. -DUA_ENABLE_PUBSUB=ON \
  353. -DUA_ENABLE_PUBSUB_DELTAFRAMES=ON \
  354. -DUA_ENABLE_PUBSUB_INFORMATIONMODEL=ON \
  355. -DUA_ENABLE_SUBSCRIPTIONS=ON \
  356. -DUA_ENABLE_SUBSCRIPTIONS_EVENTS=ON \
  357. -DUA_ENABLE_UNIT_TESTS_MEMCHECK=OFF \
  358. -DUA_NAMESPACE_ZERO=FULL ..
  359. make -j && make test ARGS="-V"
  360. if [ $? -ne 0 ] ; then exit 1 ; fi
  361. cd .. && rm build -rf
  362. echo -en 'travis_fold:end:script.build.unit_test_ns0_full\\r'
  363. if ! [ -z ${DEBIAN+x} ]; then
  364. echo -e "\r\n== Building the Debian package ==" && echo -en 'travis_fold:start:script.build.debian\\r'
  365. dpkg-buildpackage -b
  366. if [ $? -ne 0 ] ; then exit 1 ; fi
  367. cp ../open62541*.deb .
  368. # Copy for github release script
  369. cp ../open62541*.deb ../..
  370. echo -en 'travis_fold:end:script.build.debian\\r'
  371. fi
  372. if [ "$CC" != "tcc" ]; then
  373. echo -e "\r\n== Unit tests (minimal NS0) ==" && echo -en 'travis_fold:start:script.build.unit_test_ns0_minimal\\r'
  374. mkdir -p build && cd build
  375. cmake \
  376. -DCMAKE_BUILD_TYPE=Debug \
  377. -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/$PYTHON \
  378. -DUA_BUILD_EXAMPLES=ON \
  379. -DUA_BUILD_UNIT_TESTS=ON \
  380. -DUA_ENABLE_COVERAGE=ON \
  381. -DUA_ENABLE_DA=ON \
  382. -DUA_ENABLE_DISCOVERY=ON \
  383. -DUA_ENABLE_DISCOVERY_MULTICAST=ON \
  384. -DUA_ENABLE_ENCRYPTION=ON \
  385. -DUA_ENABLE_PUBSUB=ON \
  386. -DUA_ENABLE_PUBSUB_DELTAFRAMES=ON \
  387. -DUA_ENABLE_PUBSUB_INFORMATIONMODEL=ON \
  388. -DUA_ENABLE_UNIT_TESTS_MEMCHECK=ON ..
  389. make -j && make test ARGS="-V"
  390. if [ $? -ne 0 ] ; then exit 1 ; fi
  391. echo -en 'travis_fold:end:script.build.unit_test_ns0_minimal\\r'
  392. # only run coveralls on main repo and when MINGW=true
  393. # We only want to build coveralls once, so we just take the travis run where MINGW=true which is only enabled once
  394. echo -e "\r\n== -> Current repo: ${TRAVIS_REPO_SLUG} =="
  395. if [ $MINGW = "true" ] && [ "${TRAVIS_REPO_SLUG}" = "open62541/open62541" ]; then
  396. echo -en "\r\n== Building codecov.io for ${TRAVIS_REPO_SLUG} ==" && echo -en 'travis_fold:start:script.build.codecov\\r'
  397. cd ..
  398. /bin/bash -c "bash <(curl -s https://codecov.io/bash)"
  399. if [ $? -ne 0 ] ; then exit 1 ; fi
  400. cd build
  401. echo -en 'travis_fold:end:script.build.codecov\\r'
  402. echo -en "\r\n== Building coveralls for ${TRAVIS_REPO_SLUG} ==" && echo -en 'travis_fold:start:script.build.coveralls\\r'
  403. coveralls -E '.*/build/CMakeFiles/.*' -E '.*/examples/.*' -E '.*/tests/.*' -E '.*\.h' -E '.*CMakeCXXCompilerId\.cpp' -E '.*CMakeCCompilerId\.c' -r ../ || true # ignore result since coveralls is unreachable from time to time
  404. echo -en 'travis_fold:end:script.build.coveralls\\r'
  405. fi
  406. cd .. && rm build -rf
  407. fi
  408. fi