We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c7c506 commit daec22bCopy full SHA for daec22b
.travis.yml
@@ -7,6 +7,7 @@ env:
7
- BUILD_TYPE=make # build using Makefile
8
- BUILD_TYPE=manual # build manually
9
- BUILD_TYPE=complete # build manually and regenerate figures, grammer, and cross-references
10
+ - BUILD_TYPE=check-whitespace # check for whitespace at the ends of lines
11
12
script:
13
# Build std.pdf
@@ -35,6 +36,14 @@ script:
35
36
pdflatex std;
37
fi
38
- popd
39
+ # Fail if there is whitespace at the ends of any lines
40
+ - if [ "$BUILD_TYPE" = "check-whitespace" ]; then
41
+ export TEST_STATUS=0;
42
+ grep '\s$' source/*.tex && export TEST_STATUS=1;
43
+ fi;
44
+ if [ "0$TEST_STATUS" != "00" ]; then
45
+ false;
46
47
# Check to see if generated files are out-dated
48
- pushd source
49
- for FIGURE in *.dot; do
0 commit comments