Some changes to CI servises scripts to support default branch.
--HG-- branch : release
This commit is contained in:
parent
3c01e6d027
commit
cb23fab6fe
13
.travis.yml
13
.travis.yml
|
@ -62,11 +62,12 @@ script:
|
||||||
- $CXX --version
|
- $CXX --version
|
||||||
- |
|
- |
|
||||||
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||||
build-wrapper-linux-x86-64 --out-dir ../bw-outputs make -j$(nproc);
|
# build-wrapper-linux-x86-64 --out-dir ../bw-outputs make -j$(nproc);
|
||||||
|
make -j$(nproc);
|
||||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"$TRAVIS_BUILD_DIR/build/src/libs/vpropertyexplorer/bin:$TRAVIS_BUILD_DIR/build/src/libs/qmuparser/bin";
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"$TRAVIS_BUILD_DIR/build/src/libs/vpropertyexplorer/bin:$TRAVIS_BUILD_DIR/build/src/libs/qmuparser/bin";
|
||||||
xvfb-run -a make --silent check TESTARGS="-silent";
|
xvfb-run -a make --silent check TESTARGS="-silent";
|
||||||
cd ..;
|
cd ..;
|
||||||
sonar-scanner;
|
#sonar-scanner;
|
||||||
else
|
else
|
||||||
make -j1;
|
make -j1;
|
||||||
fi
|
fi
|
||||||
|
@ -94,7 +95,7 @@ deploy:
|
||||||
on:
|
on:
|
||||||
all_branches: true
|
all_branches: true
|
||||||
condition: $DEPLOY = true
|
condition: $DEPLOY = true
|
||||||
addons:
|
#addons:
|
||||||
sonarqube:
|
# sonarqube:
|
||||||
token:
|
# token:
|
||||||
secure: qYgcPp4yCkv6lA2IQjRZInsI9mHWSVjSQw+veI1v5Tg4VnoGSN8II2zh3syruNrfZ2uc5Sy3NlTpqZXB8BN/Sbaw0KP0ylnI8UHjmXazuVdY7P/0hnGrb3be/x47xWSNKIm6jRwbDgYVeNHhF3rW2RxXkBbfqXX8/fe8GIyYWIgy9ls/v1tadfzALg6RO4NpqUN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LPBtW4Sh0UoY9DXiiS/SZ5HVn2r+vGIm7AxYz0Eg9gO3scV38nsk0RRP/IOJdb2DFZVH9vVP7dS76rucufzMt/yhn0ZiuPST56Ic41VA2PnnNv7QevgY8g7jzpyTgHGMk=
|
||||||
|
|
|
@ -20,6 +20,7 @@ branches:
|
||||||
only:
|
only:
|
||||||
- develop
|
- develop
|
||||||
- release
|
- release
|
||||||
|
- default
|
||||||
|
|
||||||
# Do not build on tags (GitHub and BitBucket)
|
# Do not build on tags (GitHub and BitBucket)
|
||||||
skip_tags: true
|
skip_tags: true
|
||||||
|
@ -156,7 +157,6 @@ notifications:
|
||||||
to:
|
to:
|
||||||
- dismine@gmail.com
|
- dismine@gmail.com
|
||||||
- susan.spencer@gmail.com
|
- susan.spencer@gmail.com
|
||||||
- zhuravska19@gmail.com
|
|
||||||
on_build_success: false
|
on_build_success: false
|
||||||
on_build_failure: true
|
on_build_failure: true
|
||||||
on_build_status_changed: true
|
on_build_status_changed: true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user