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
2017-04-11 11:23:42 +02:00
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)
2017-04-09 10:42:16 +02:00
Qingping Hou
69f9ebd528
build: fix doc generation
...
also moved MD5 to koreader-base/ffi
2016-02-23 22:01:12 -08:00
Qingping Hou
83cc67b660
build: deploy doc update after sucess
2016-02-19 01:14:42 -08:00
Qingping Hou
1f082d7f5c
build: fix travis build
2016-02-16 09:58:24 -08:00
Qingping Hou
e422842256
minor: a lot of luacheck fixes
2016-02-15 23:10:07 -08:00
Qingping Hou
6a6469fa09
more luacheck fixes
2016-02-15 22:34:28 -08:00
Qingping Hou
3c647ff244
minor: various luacheck fixes
2016-02-15 18:08:04 -08:00
Qingping Hou
2d3843413f
build: fix coverall command in travis
2016-02-15 02:43:02 -08:00
Qingping Hou
59c17ef420
minor: more luacheck fixes
2016-02-15 01:33:48 -08:00
Qingping Hou
11ee8d6fcc
refactor: use new KeyValuePage widget for displaying statistics
2016-02-14 21:54:17 -08:00
Qingping Hou
8f4fae7a09
minore: more static check fixes
2016-02-10 10:30:05 -08:00
Qingping Hou
ad3b2dad1a
build: fix luacheck in travis build
2016-02-10 00:01:09 -08:00
Qingping Hou
9bd2d42834
build: enforce luacheck in travis build
2016-02-09 23:01:52 -08:00
Qingping Hou
98d5026b8e
build: retry testfront to get around occasional segfault in travis.
2016-02-04 00:07:09 -08:00
Qingping Hou
20232f61ef
build: more travis build fix
2016-02-03 23:11:22 -08:00
Qingping Hou
0aec9c5900
build: fix travis build with new luarocks
2016-02-03 22:15:26 -08:00
chrox
8233ab2518
update to busted-2.0.rc11-0
2015-11-10 21:45:48 +08:00
chrox
429eeed372
verbose unit test log so that we have a clue when there is segfault
2015-10-07 15:14:27 +08:00
Qingping Hou
1664cece7f
ci: cache apt-get
2015-09-13 01:10:09 -07:00
Frans de Jonge
6eca0be44b
Spec updates for new font
2015-09-07 09:42:23 +02:00
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.
2015-08-24 16:40:52 +02:00
Qingping Hou
16efbcf223
build: enable travis retry
2015-04-26 20:59:47 -04:00
chrox
625b184b8e
Fix travis build
2015-03-31 22:38:59 +08:00
chrox
0191dc6530
revert busted to v1.10.0 to avoid segmentation fault in testing
2015-03-05 17:56:03 +08:00
chrox
1e7e401715
fix luarocks install
2015-03-03 18:09:44 +08:00
chrox
4053b5adac
fix unit test with latest busted
2015-03-03 18:00:38 +08:00
chrox
6a0554f226
make coverage in after_success stage
...
So that if the coverage job is timeout it won't fail the
CI result.
2014-12-01 14:43:01 +08:00
chrox
64d2d3deae
install nasm in Travis
2014-10-23 15:33:46 +08:00
chrox
3a98b4b0f7
add coveralls badge to show coverage number
2014-10-06 23:36:13 +08:00
chrox
770245418c
install luajit for luacov in Travis
2014-10-06 22:28:55 +08:00
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'.
2014-10-06 21:31:08 +08:00
Qingping Hou
efac6e9210
fix(test): update package list in travis
2014-07-14 15:10:05 -04:00
chrox
23dac18145
add travis CI for koreader
2014-05-31 17:38:01 +08:00