Skip to content

Commit f898ebf

Browse files
committed
Merge pull request #1238 from tambry/CoverityFix
Fix Coverity and bump the version.
2 parents f677782 + 455d07e commit f898ebf

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

.travis.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ compiler:
1313
env:
1414
global:
1515
- secure: "jA29KvTCTR7q4BMzPPUBGazjJwrIWa7k4fo5ZSMlyxh2NbztZTKQYwodgDcXBoptCd1KJ9H3FXwBnNdMNVnTkvoPL9uWnN4K/3D1D20FCag1kmlBwnaVqVei5cRiZ9TOMuaxhjkdg8pcrQLTlXEEdMZf6A2OW0VgoBGDVSX9nYc="
16+
# Which Travis environment to run Coverity on
17+
- coverity_scan_run_condition='"$CC" = gcc -a "$TRAVIS_OS_NAME" != osx'
18+
# Test mode is for testing if it's working with Coverity. Change to true if testing, to avoid reaching the quota.
19+
- coverity_scan_script_test_mode=false
1620

1721
branches:
1822
except:
@@ -37,9 +41,7 @@ before_install:
3741
sudo /etc/init.d/couchdb stop;
3842
sudo /etc/init.d/redis-server stop;
3943
sudo free -m -t;
40-
fi;
4144

42-
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then
4345
echo "yes" | sudo apt-key adv --fetch-keys 'http://repos.codelite.org/CodeLite.asc';
4446
echo "yes" | sudo apt-add-repository 'deb http://repos.codelite.org/wx3.0/ubuntu/ precise universe';
4547
echo "yes" | sudo add-apt-repository 'deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu precise main';
@@ -78,27 +80,25 @@ before_script:
7880
- cd build
7981
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then cmake ..; else cmake .. -DLLVM_DIR=/usr/local/opt/llvm36/lib/llvm-3.6/share/llvm/cmake; fi
8082

83+
script:
84+
# Add a command to show all the variables. May be useful for debugging Travis.
85+
# - echo "--Shell Export Lists START--" ; export -p; echo "--Shell Export Lists STOP--";
86+
# And to ensure the versions of toolchain
87+
- echo "--CXX version?"; "$CXX" --version; echo "--CXX version confirmed";
88+
- if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then make -j 4; fi
89+
8190
addons:
8291
coverity_scan:
8392
project:
84-
name: "DHrpcs3/rpcs3"
85-
description: "PS3 emulator/debugger"
93+
name: $TRAVIS_REPO_SLUG
8694
notification_email: [email protected]
8795
build_command_prepend: ""
8896
build_command: "make -j 4"
89-
branch_pattern: coverity_scan
97+
branch_pattern: master
9098

91-
# These modifys are from https://github.com/devernay/cminpack/blob/master/.travis.yml
92-
# It passed but when coverall it failed.
93-
script:
94-
# Add a command to show all the variables now. maybe only useful for debugging travis.
95-
# - echo "--Shell Export Lists START--" ; export -p; echo "--Shell Export Lists STOP--";
96-
# And to ensure the versions of toolchain
97-
- echo "--CXX version?"; "$CXX" --version; echo "--CXX version confirmed";
98-
# From https://github.com/devernay/cminpack/blob/master/.travis.yml: that is $COVERITY_SCAN_BRANCH not ${COVERITY_SCAN_BRANCH}
99-
- if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then make -j 4; fi
10099
after_success:
101-
- if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then coveralls --extension .c --extension .cpp --extension .h; fi
100+
- coveralls --extension .c --extension .cpp --extension .h;
101+
102102
after_failure:
103103
# show memory usage again and show actions of the OOM killer
104104
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then

rpcs3/stdafx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ template<typename T1, typename T2, typename T3 = const char*> struct triplet_t
169169
template<typename T> struct id_traits;
170170

171171
#define _PRGNAME_ "RPCS3"
172-
#define _PRGVER_ "0.0.0.5"
172+
#define _PRGVER_ "0.0.0.6"
173173

174174
#include "Utilities/BEType.h"
175175
#include "Utilities/Atomic.h"

0 commit comments

Comments
 (0)