fix(.travis.yml): (try to fix) random build failures at travis
At https://bitcointalk.org/index.php?topic=304389.0, people suggest that the failure g++-4.8: internal compiler error: Killed (program cc1plus) usually happens when the system does not have enough free memory. A possible workaround is to disable parallel build, and compile file by file. I added the option `-j1` to Ninja.
This commit is contained in:
parent
480bc639ea
commit
f49a610995
1 changed files with 2 additions and 2 deletions
|
@ -247,7 +247,7 @@ script:
|
|||
sed -i "s/^Site:.*/Site:$SITE/" $CONFIG_FILE;
|
||||
sed -i "s/BuildName:.*/BuildName:$BUILD_NAME/" $CONFIG_FILE;
|
||||
if [[ $MEMCHECK == TRUE ]]; then
|
||||
ninja;
|
||||
ninja -j1;
|
||||
else
|
||||
ctest -D ExperimentalConfigure;
|
||||
sed -i "s/^Site:.*/Site:$SITE/" $CONFIG_FILE;
|
||||
|
@ -262,7 +262,7 @@ after_script:
|
|||
- cd build
|
||||
- if [[ $REPO == BLESSED && $TESTCOV == ON ]]; then
|
||||
ctest -D ExperimentalCoverage;
|
||||
ninja cov;
|
||||
ninja -j1 cov;
|
||||
npm install coveralls --save;
|
||||
cat coverage.info.cleaned | ./node_modules/coveralls/bin/coveralls.js;
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue