Skip to content

Commit feb3229

Browse files
amanjeevmark-i-m
authored andcommitted
Fix (build CI script):
* Removes timeout hack because it is not needed because we have upgraded mdbook_linkcheck * Renamed build script because it is no longer ignoring timeouts
1 parent 7b699b9 commit feb3229

File tree

3 files changed

+18
-30
lines changed

3 files changed

+18
-30
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ install:
1212
- source ~/.cargo/env || true
1313
- bash -x ci/install.sh
1414
script:
15-
- bash -x ci/build-ignore-timeouts.sh
15+
- bash -x ci/build.sh
1616
- mdbook test
1717
notifications:
1818
email:

ci/build-ignore-timeouts.sh

Lines changed: 0 additions & 29 deletions
This file was deleted.

ci/build.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash -x
2+
3+
output=$(mktemp)
4+
5+
mkdir -p book/
6+
cp -r $HOME/linkcheck/ book/
7+
RUST_LOG=mdbook_linkcheck=debug mdbook-linkcheck -s 2>&1 | tee -a $output
8+
cp -r book/linkcheck $HOME/
9+
10+
mdbook build
11+
12+
result=${PIPESTATUS[0]}
13+
14+
# if passed, great!
15+
if [ "$result" -eq "0" ] ; then
16+
exit 0 ;
17+
fi

0 commit comments

Comments
 (0)