Skip to content

Commit fa1b80d

Browse files
author
MarcoFalke
committed
[travis] Only run check-doc.py once
1 parent 196ad69 commit fa1b80d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ env:
1111
global:
1212
- MAKEJOBS=-j3
1313
- RUN_TESTS=false
14+
- CHECK_DOC=0
1415
- BOOST_TEST_RANDOM=1$TRAVIS_BUILD_ID
1516
- CCACHE_SIZE=100M
1617
- CCACHE_TEMPDIR=/tmp/.ccache-temp
@@ -29,7 +30,7 @@ matrix:
2930
fast_finish: true
3031
include:
3132
- compiler: ": ARM"
32-
env: HOST=arm-linux-gnueabihf PACKAGES="g++-arm-linux-gnueabihf" DEP_OPTS="NO_QT=1" GOAL="install" BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports"
33+
env: HOST=arm-linux-gnueabihf PACKAGES="g++-arm-linux-gnueabihf" DEP_OPTS="NO_QT=1" CHECK_DOC=1 GOAL="install" BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports"
3334
- compiler: ": Win32"
3435
env: HOST=i686-w64-mingw32 PPA="ppa:ubuntu-wine/ppa" PACKAGES="nsis gcc-mingw-w64-i686 g++-mingw-w64-i686 binutils-mingw-w64-i686 mingw-w64-dev wine1.7 bc" RUN_TESTS=true GOAL="deploy" BITCOIN_CONFIG="--enable-gui --enable-reduce-exports" MAKEJOBS="-j2"
3536
- compiler: ": 32-bit + dash"
@@ -61,10 +62,10 @@ script:
6162
- BITCOIN_CONFIG_ALL="--disable-dependency-tracking --prefix=$TRAVIS_BUILD_DIR/depends/$HOST --bindir=$OUTDIR/bin --libdir=$OUTDIR/lib"
6263
- depends/$HOST/native/bin/ccache --max-size=$CCACHE_SIZE
6364
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then export CCACHE_READONLY=1; fi
65+
- if [ "$CHECK_DOC" = 1 ]; then contrib/devtools/check-doc.py; fi
6466
- test -n "$USE_SHELL" && eval '"$USE_SHELL" -c "./autogen.sh"' || ./autogen.sh
6567
- ./configure --cache-file=config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( cat config.log && false)
6668
- make distdir PACKAGE=bitcoin VERSION=$HOST
67-
- if [ "$RUN_TESTS" = "true" ]; then contrib/devtools/check-doc.py; fi
6869
- cd bitcoin-$HOST
6970
- ./configure --cache-file=../config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( cat config.log && false)
7071
- make $MAKEJOBS $GOAL || ( echo "Build failure. Verbose build follows." && make $GOAL V=1 ; false )

0 commit comments

Comments
 (0)