Commit graph

89 commits

Author SHA1 Message Date
Dave Davenport
57b14591f9 [Travis] Add coverage for meson build 2020-05-14 12:44:59 +02:00
Dan Beste
80fc8e16b2
Fix Travis CI builds (#1107)
* fix: Fix Travis CI builds and (some) tests

https://config.travis-ci.com/explore recommendations:
  * Set the `os` key
  * Removes the `sudo` key

Fixes:
  * Missing dependencies

Cleanups:
  * Set `build_command_prepend` and `build_command` to match the process
    performed by the before_script and script.
  * Removed unnecessary apt package dependencies.
  * Ran the file through prettier (https://prettier.io/).

Enhancements:
  * Bumps dist to Ubuntu 18.04 (Bionic)
    * This bump allows us to install a few packages that were previously
      installed manually.
  * Added a Clang build.

TODOs:
  * X11 tests are broken. I've commented them out for the time being.

* Create multiple jobs

Jobs (4 total):
  Compilers:
    * Clang
    * GCC
  Build tools:
    * Autotools
    * Meson

Enhancements:
* DRY out the CI config.

Failure (seemingly related to `check`?) here:
https://travis-ci.org/github/davatorium/rofi/jobs/680265096#L1125

* [Travis] More debug output

* [Travis] Add ldconfig

* [Travis] try to fix doxy tests.

* [Travis] Try to fix doxygen stuff.

* [Travis] Trying to fix meson doxy gen tests.

* Minor cleanups

Co-authored-by: Dave Davenport <qball@gmpclient.org>
2020-04-30 09:09:28 +02:00
Quentin Glidic
a56bb423bf
travis: Download Meson ourselves
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2018-07-10 18:49:54 +02:00
Quentin Glidic
08de7ca41a
travis: Use Python 3.5 for Meson
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2018-07-10 14:42:05 +02:00
Quentin Glidic
515b115e26
travis: libxkbcommon is now in the whitelist
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2018-07-10 14:41:55 +02:00
Quentin Glidic
b8a327aa1b
travis: Install latest Meson
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2018-07-10 14:26:10 +02:00
Dave Davenport
441c511296
Add an generic icon fetcher that can be used by any widget and re-uses the main threadpool.
Add an generic icon fetcher that can be used by any widget and re-uses the main threadpool.

* Make threadpool more generic usable.
* Add generic icon fetcher, that caches icons.
* Make DRUN use this fetcher.
* Add icon widget.

#809
2018-06-09 19:13:57 +02:00
Dave Davenport
e6cdf16089 [travis] Install meson in homedir. 2017-09-07 20:15:37 +02:00
Dave Davenport
e483012906 Add pip to install list. 2017-09-07 20:08:43 +02:00
Quentin Glidic
5dd8e216e1
travis: Install Meson 0.41.2
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-08-17 19:27:45 +02:00
Dave Davenport
6300f6b1a5 Travic add xterm.
- missing dep.
2017-07-27 16:51:07 +02:00
Dave Davenport
e1b9d574c1 Add xfonts-base to fix xterm complaining 2017-07-25 17:25:51 +02:00
Quentin Glidic
86091748a4
travis: Add WebHook
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-07-14 23:41:03 +02:00
Dave Davenport
51e4361552 [Travis] Add randr dependency. 2017-06-24 12:58:16 +02:00
Quentin Glidic
4e6af2eab8
travis: libxcb-ewmh-dev is whitelisted again
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 15:29:48 +02:00
Quentin Glidic
cfede32f7c
travis: Drop unneeded direct test call
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-28 00:39:51 +02:00
Quentin Glidic
04faad945a
Merge branch 'master' into wip/meson
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-28 00:21:57 +02:00
Dave Davenport
f5ba9359a9 See output of test failing only in travis. 2017-05-14 17:36:27 +02:00
Quentin Glidic
7fd8ce4c0a
Add Meson build system support
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 21:50:07 +02:00
Quentin Glidic
a1c877e680
travis: Cleanup
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 17:14:28 +02:00
Dave Davenport
2e98105a18 [Test] Fix travis doxygen redirect. 2017-04-30 20:50:44 +02:00
Dave Davenport
efcf585e22 Reduce doxygen log output. 2017-04-30 20:41:26 +02:00
Dave Davenport
8be234121a Travis: forgot sudo for make install. 2017-04-30 18:37:34 +02:00
Dave Davenport
7892a83301 Allow libcheck to be disabled if not found 2017-04-30 18:34:37 +02:00
Dave Davenport
2ac6678d47 Try to disable doc rebuilding.. 2017-04-30 18:25:18 +02:00
Dave Davenport
8aaed250e1 Add texi2html for check build. 2017-04-30 18:19:11 +02:00
Dave Davenport
2e6db428c9 Install newer version of check in travis.. 2017-04-30 18:02:39 +02:00
Dave Davenport
90d946b809 Hopefully fix for outdated travis 2017-04-29 18:09:10 +02:00
Dave Davenport
084125bc4c [Test] Play with check. 2017-04-29 17:52:37 +02:00
Dave Davenport
876e743497 Fix flex install travis build. (#589)
* add libfl/trusty-backports as dep
2017-04-25 09:54:56 +02:00
Dave Davenport
663f53290f Travis (#583)
* Add trusty backports for flex.

* Explicitly indicate to take backport package

* Fix reference file update.
2017-04-04 21:13:39 +02:00
Dave Davenport
3ef88c07fb Update travis to xenial. 2017-04-04 18:08:21 +02:00
Dave Davenport
3e73cbd0ef Small experiment 2017-03-31 21:08:52 +02:00
Dave Davenport
89ac2ea267 Make travis output more verbose. 2016-11-15 22:12:53 +01:00
Dave Davenport
d6756b6dad Add extra check to travis. 2016-11-15 22:02:47 +01:00
Dave Davenport
89cf6d2d63 Fix document coverage tool. 2016-10-25 22:08:19 +02:00
Dave Davenport
c5d30abb22 Add graphviz 2016-10-25 21:33:22 +02:00
Dave Davenport
27b06c3784 Add doxygen to travis build. 2016-10-25 21:31:31 +02:00
Dave Davenport
a7cfc75592 gcov is not a package. 2016-10-18 22:57:53 +02:00
Dave Davenport
970f7af037 try to print coverage report in travis 2016-10-18 22:54:38 +02:00
Dave Davenport
0f1ba8aca8 Update travis 2016-10-17 20:19:58 +02:00
Dave Davenport
0297d9445c Try to add coverity 2016-10-17 18:38:17 +02:00
Dave Davenport
74cbad6814 Enable drun in travis builds. 2016-08-31 10:09:41 +02:00
Dave Davenport
525c7c7d51 Add gdb.. lets see 2016-08-19 19:44:31 +02:00
Dave Davenport
2799125e82 Remove libx11-dev from travis file. 2016-06-25 14:23:43 +02:00
Dave Davenport
89e7979d75 Add xutil-dev to travis 2016-06-25 14:17:49 +02:00
Dave Davenport
bc356979bb Add building xcb-util-xrm to travis 2016-06-25 14:14:39 +02:00
Quentin Glidic
95da24927a travis.yml: Move ./configure to before_script
This way, the Travis build will error and not fail on missing
dependencies.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-04-02 11:22:40 +02:00
Quentin Glidic
3f8673f073 travis.yml: libxcb-ewmh-dev is blacklisted again
This package changed named between Precise and Trusty, and Travis is
using Precise as its base system.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-04-02 11:22:40 +02:00
Quentin Glidic
1e3294fa68 travis.yml: Use Jason Pleau xkbcommon package
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-03-20 22:20:00 +01:00