Skip to content

Commit

Permalink
Trying to fix CI scanner.
Browse files Browse the repository at this point in the history
  • Loading branch information
slav-at-attachix committed May 11, 2020
1 parent 5609b89 commit 8d325e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis/coverity-scan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e
COVERITY_SCAN_PROJECT_NAME=${TRAVIS_REPO_SLUG}
COVERITY_SCAN_NOTIFICATION_EMAIL="[email protected]"
COVERITY_SCAN_BRANCH_PATTERN="ci/coverity-scan"
COVERITY_SCAN_BUILD_COMMAND="$MAKE_PARALLEL Basic_DateTime Basic_Delegates Basic_Interrupts Basic_ProgMem Basic_Serial Basic_Servo Basic_Ssl HttpServer_FirmwareUpload SMING_ARCH=Host DEBUG_VERBOSE_LEVEL=3"
COVERITY_SCAN_BUILD_COMMAND="$MAKE_PARALLEL Basic_DateTime Basic_Delegates Basic_Interrupts Basic_ProgMem Basic_Serial Basic_Servo Basic_Ssl SMING_ARCH=Host DEBUG_VERBOSE_LEVEL=3"

# Environment check
[ -z "$COVERITY_SCAN_PROJECT_NAME" ] && echo "ERROR: COVERITY_SCAN_PROJECT_NAME must be set" && exit 1
Expand Down
4 changes: 3 additions & 1 deletion .travis/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ if [ "$TRAVIS_BUILD_STAGE_NAME" == "test" ]; then
sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-6.0 100
python3 -m pip install --upgrade pip
python3 -m pip install -r $TRAVIS_BUILD_DIR/docs/requirements.txt
export SMING_HOME=$TRAVIS_BUILD_DIR/Sming
make -C $TRAVIS_BUILD_DIR/samples/HttpServer_FirmwareUpload python-requirements PIP_ARGS=--user
fi

if [ "$SMING_ARCH" == "Esp8266" ]; then
Expand All @@ -22,5 +24,5 @@ if [ "$SMING_ARCH" == "Esp8266" ]; then
mkdir -p opt/esp-quick-toolchain
tar -zxf $TOOLCHAIN -C opt/esp-quick-toolchain --totals
fi

fi # Esp8266

0 comments on commit 8d325e5

Please sign in to comment.