Skip to content

Commit f32eb72

Browse files
committed
Finally?
1 parent 0c09759 commit f32eb72

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

.travis.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,7 @@ jobs:
6565
- BUILD_SUBDIR=${BUILD_SUBDIR:-.}
6666
- mkdir -p ${BUILD_SUBDIR} && cd ${BUILD_SUBDIR}
6767
- cmake ${TRAVIS_BUILD_DIR} -DCMAKE_C_FLAGS="$COMPILER_FLAGS" -DCMAKE_CXX_FLAGS="$COMPILER_FLAGS" -DCMAKE_INSTALL_PREFIX=install -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
68-
- pwd
69-
- ls
70-
- cd ${TRAVIS_BUILD_DIR}
71-
- pwd
72-
- ls
7368
- ./clang-tidy-diff.sh
74-
- cd -
7569
- make -j2 install
7670
- ./check.py --binaryen-bin=${BUILD_SUBDIR}/install/bin
7771

clang-tidy-diff.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
#!/bin/bash
2+
3+
# In settings in which build directory is different than binaryen/, we don't
4+
# don't have this file in binaryen/, so we skip the test.
5+
if [ ! -f compile_commands.json ]
6+
exit 0
7+
fi
8+
29
CLANG_DIR=$(dirname $(dirname $(which clang-tidy)))
310
CLANG_TIDY_DIFF=$CLANG_DIR/share/clang/clang-tidy-diff.py
411
MERGE_BASE=$(git merge-base master HEAD)

0 commit comments

Comments
 (0)