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 44f489b commit 4ccff01Copy full SHA for 4ccff01
.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,10 @@ 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
+ ! grep '\s$' source/*.tex;
42
+ fi
43
# Check to see if generated files are out-dated
44
- pushd source
45
- for FIGURE in *.dot; do
0 commit comments