Skip to content

Commit

Permalink
Merge 1664b6b into c60ebf7
Browse files Browse the repository at this point in the history
  • Loading branch information
cdunn2001 committed Oct 10, 2020
2 parents c60ebf7 + 1664b6b commit 70cf072
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 12 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -44,6 +44,8 @@ matrix:
CC="clang"
LIB_TYPE=static
BUILD_TYPE=release
PYTHONUSERBASE="$(pwd)/LOCAL"
PATH="$PYTHONUSERBASE/bin:$PATH"
# before_install and install steps only needed for linux meson builds
before_install:
- source ./.travis_scripts/travis.before_install.${TRAVIS_OS_NAME}.sh
Expand Down
2 changes: 1 addition & 1 deletion .travis_scripts/run-clang-format.py
Expand Up @@ -353,4 +353,4 @@ def main():


if __name__ == '__main__':
sys.exit(main())
sys.exit(main())
1 change: 0 additions & 1 deletion .travis_scripts/travis.before_install.osx.sh
@@ -1 +0,0 @@
# NOTHING TO DO HERE
11 changes: 3 additions & 8 deletions .travis_scripts/travis.install.linux.sh
@@ -1,10 +1,5 @@
set -vex

wget https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-linux.zip
unzip -q ninja-linux.zip -d build

pip3 install meson
echo ${PATH}
ls /usr/local
ls /usr/local/bin
export PATH="${PWD}"/build:/usr/local/bin:/usr/bin:${PATH}
pip3 install --user meson ninja
which meson
which ninja
1 change: 1 addition & 0 deletions reformat.sh
@@ -0,0 +1 @@
find src -name '*.cpp' -or -name '*.h' | xargs clang-format -i
3 changes: 1 addition & 2 deletions src/test_lib_json/main.cpp
Expand Up @@ -3920,8 +3920,7 @@ class VersionTest : public JsonTest::TestCase {};

JSONTEST_FIXTURE_LOCAL(VersionTest, VersionNumbersMatch) {
std::ostringstream vstr;
vstr << JSONCPP_VERSION_MAJOR << '.'
<< JSONCPP_VERSION_MINOR << '.'
vstr << JSONCPP_VERSION_MAJOR << '.' << JSONCPP_VERSION_MINOR << '.'
<< JSONCPP_VERSION_PATCH;
JSONTEST_ASSERT_EQUAL(vstr.str(), std::string(JSONCPP_VERSION_STRING));
}
Expand Down

0 comments on commit 70cf072

Please sign in to comment.