File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,11 @@ language: c
32
32
# Use a container Travis
33
33
sudo : false
34
34
35
+ before_install :
36
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then gindent -kr -i8 src/node/*.c ; else indent -kr -i8 src/node/*.c ; fi
37
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then gindent -kr -i8 src/plugins/*.c ; else indent -kr -i8 src/plugins/*.c ; fi
38
+ - git diff
39
+ - git diff --quiet
35
40
install :
36
41
- ./getversion
37
42
- autoreconf -i -I m4
@@ -50,6 +55,10 @@ addons:
50
55
apt :
51
56
packages :
52
57
- musl-tools
58
+ - indent
59
+ homebrew :
60
+ packages :
61
+ - gnu-indent
53
62
54
63
coverity_scan :
55
64
project :
Original file line number Diff line number Diff line change 38
38
#ifndef HAVE_MNTENT_H
39
39
int df (int argc , char * * argv )
40
40
{
41
- if (argc && argv ) {
42
- /* Do nothing, but silence the warnings */
43
- }
44
- return fail ("getmntent() is not supported on your system" );
41
+ if (argc && argv ) {
42
+ /* Do nothing, but silence the warnings */
43
+ }
44
+ return fail ("getmntent() is not supported on your system" );
45
45
}
46
46
#else
47
47
You can’t perform that action at this time.
0 commit comments