sway/.travis.yml
JerziKaminsky aa6bd85da1 Add libcap check to CMake
- Moved ``<sys/capability.h>`` include inside `__linux__` guard,
  because all uses are similarly guarded.
- <sys/capability.h> is part of an optional devel package, at least
  in fedora. CMake now explicitly checks that libcap devel files
  are available.
- Added libcap to the list of install packages in .travis.yml, to
  make the dependency explicit. travis-ci installs the package by
  default, which is why this hasn't surfaced previously.
2017-04-07 03:14:16 +03:00

28 lines
396 B
YAML

sudo: required
language: c
compiler:
- gcc
- clang
arch:
packages:
- cmake
- xorg-server-xwayland
- asciidoc
- json-c
- wayland
- xcb-util-image
- pango
- cairo
- gdk-pixbuf2
- wlc-git
- libcap
script:
- "cmake ."
- "make"
script:
- "curl -s https://raw.githubusercontent.com/mikkeloscar/arch-travis/master/arch-travis.sh | bash"