Frans de Jonge
9d39f11f59
Travis: speed up by caching base and running luacheck earlier ( #2741 )
...
* Travis: speed up by caching base and running luacheck earlier
* ignore bin and install for git status change detection
* skip coverage except on official master branch. It adds 3 whole minutes and does nothing to prevent regressions
* also cache ~/.luarocks. It evens out but would generally prevent remote timeout shenenigans
* remove base cache dir before caching with verbose remove to see what's going on
* more inclusive shell code quality analysis
* fixed more shellcheck issues
* better shellcheck/shfmt debugging info
8 years ago
Frans de Jonge
e5bcdee85e
Add ShellCheck and shfmt shell code quality analysis ( #2712 )
...
* Add ShellCheck and shfmt shell code quality analysis
* kobo/koreader.sh: remove useless $PREFIX
* kobo/koreader.sh: fix rotation issue caused by #2731
* Travis: speed up (caching Luarocks should shave a minute off install process)
8 years ago
Qingping Hou
69f9ebd528
build: fix doc generation
...
also moved MD5 to koreader-base/ffi
9 years ago
Qingping Hou
83cc67b660
build: deploy doc update after sucess
9 years ago
Qingping Hou
1f082d7f5c
build: fix travis build
9 years ago
Qingping Hou
e422842256
minor: a lot of luacheck fixes
9 years ago
Qingping Hou
6a6469fa09
more luacheck fixes
9 years ago
Qingping Hou
3c647ff244
minor: various luacheck fixes
9 years ago
Qingping Hou
2d3843413f
build: fix coverall command in travis
9 years ago
Qingping Hou
59c17ef420
minor: more luacheck fixes
9 years ago
Qingping Hou
11ee8d6fcc
refactor: use new KeyValuePage widget for displaying statistics
9 years ago
Qingping Hou
8f4fae7a09
minore: more static check fixes
9 years ago
Qingping Hou
ad3b2dad1a
build: fix luacheck in travis build
9 years ago
Qingping Hou
9bd2d42834
build: enforce luacheck in travis build
9 years ago
Qingping Hou
98d5026b8e
build: retry testfront to get around occasional segfault in travis.
9 years ago
Qingping Hou
20232f61ef
build: more travis build fix
9 years ago
Qingping Hou
0aec9c5900
build: fix travis build with new luarocks
9 years ago
chrox
8233ab2518
update to busted-2.0.rc11-0
9 years ago
chrox
429eeed372
verbose unit test log so that we have a clue when there is segfault
9 years ago
Qingping Hou
1664cece7f
ci: cache apt-get
9 years ago
Frans de Jonge
6eca0be44b
Spec updates for new font
9 years ago
Frans de Jonge
21c51a9162
Travis update
...
The new container-based format doesn't do sudo anymore, so there are some extensive changes.
It does, however, allow cache.
I also took the opportunity to switch to a newer busted. The root element for that now needs to be a table.
9 years ago
Qingping Hou
16efbcf223
build: enable travis retry
10 years ago
chrox
625b184b8e
Fix travis build
10 years ago
chrox
0191dc6530
revert busted to v1.10.0 to avoid segmentation fault in testing
10 years ago
chrox
1e7e401715
fix luarocks install
10 years ago
chrox
4053b5adac
fix unit test with latest busted
10 years ago
chrox
6a0554f226
make coverage in after_success stage
...
So that if the coverage job is timeout it won't fail the
CI result.
10 years ago
chrox
64d2d3deae
install nasm in Travis
10 years ago
chrox
3a98b4b0f7
add coveralls badge to show coverage number
10 years ago
chrox
770245418c
install luajit for luacov in Travis
10 years ago
chrox
f1f8d8dc4f
make coverage target for code coverage for the unit test
...
so that we can easily find which module needs unit test
In order to run 'make coverage' `luacov` need to be installed
with 'sudo luarocks install luacov'.
10 years ago
Qingping Hou
efac6e9210
fix(test): update package list in travis
10 years ago
chrox
23dac18145
add travis CI for koreader
10 years ago