Travis: merge BUILD_APIDOC and DO_CHECKQA
ldoc was not installed for the DO_CHECKQA build. This merges it with the BUILD_APIDOC build job, which is one of the faster ones; installing ldoc into the DO_COVERAGE=coveralls would slow that one down a lot. This also moves the two slowest builds (with coverage reporting) to the top, so they get started first. Fixes https://github.com/awesomeWM/awesome/issues/1710. Closes https://github.com/awesomeWM/awesome/pull/1716.
This commit is contained in:
parent
edd8ea4a3b
commit
639d6decb4
12
.travis.yml
12
.travis.yml
|
@ -10,15 +10,15 @@ branches:
|
|||
|
||||
env:
|
||||
matrix:
|
||||
- LUA=5.2 DO_CHECKQA=1 LUANAME=lua5.2 DO_COVERAGE=coveralls
|
||||
- LUA=5.2 LUANAME=lua5.2 DO_COVERAGE=coveralls
|
||||
# Lua 5.3 isn't available in Ubuntu Trusty, so some magic below installs it.
|
||||
- LUA=5.3 LUANAME=lua5.3 LUALIBRARY=/usr/lib/liblua.so DO_COVERAGE=codecov
|
||||
# luajit: installed from source.
|
||||
- LUA=5.1 LUANAME=luajit-2.0 LUALIBRARY=/usr/lib/libluajit-5.1.so LUAROCKS_ARGS=--lua-suffix=jit-2.0.4 TEST_PREV_COMMITS=1 EMPTY_THEME_WHILE_LOADING=1
|
||||
# Note: luarocks does not work with Lua 5.0.
|
||||
- LUA=5.1 LUANAME=lua5.1 BUILD_IN_DIR=/tmp/awesome-build
|
||||
# Lua 5.2 with older lgi and screen size not divisible by 2.
|
||||
- LUA=5.2 LUANAME=lua5.2 LGIVER=0.8.0 TESTS_SCREEN_SIZE=1921x1079 BUILD_APIDOC=true
|
||||
# Lua 5.3 isn't available in Ubuntu Trusty, so some magic below installs it.
|
||||
- LUA=5.3 LUANAME=lua5.3 LUALIBRARY=/usr/lib/liblua.so DO_COVERAGE=codecov
|
||||
- LUA=5.2 LUANAME=lua5.2 LGIVER=0.8.0 TESTS_SCREEN_SIZE=1921x1079 BUILD_APIDOC=true DO_CHECKQA=1
|
||||
global:
|
||||
# Secure GH_APIDOC_TOKEN to push to awesomeWM/apidoc.
|
||||
- secure: "R/HYDclnws1I1+v9Yjt+RKa4CsFhbBT9tiwE3EfPhEj2KCYX4sFRMxuZvLf5sq0XWdrQaPhQ54fgAZGr3f054JKRXcTB0g9J6nhSHz9kIjPh446gafUhEeDQcZRwM/MeCWiwFIkiZm6smYoDFE9JTWu6quNV+lQ4kcVDOp2ibEc="
|
||||
|
@ -91,9 +91,9 @@ install:
|
|||
# Install depgraph for "make check-qa".
|
||||
- if [ "$DO_CHECKQA" = 1 ]; then travis_retry sudo luarocks install depgraph; fi
|
||||
|
||||
# Install ldoc for building docs.
|
||||
# Install ldoc for building docs and check-ldoc-warnings.
|
||||
- |
|
||||
if [ "$BUILD_APIDOC" = "true" ]; then
|
||||
if [ "$BUILD_APIDOC" = "true" ] || [ "$DO_CHECKQA" = 1 ]; then
|
||||
travis_retry sudo luarocks install ldoc
|
||||
travis_retry sudo luarocks install lua-discount
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue