aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: db717718845786fc42fe606a5c77b9f20eeb7161 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
sudo: required

language: c

compiler:
  - gcc
  - clang

env:
  - BUILD_TYPE=release
  - BUILD_TYPE=debug

arch:
  packages:
    - meson
    - ninja
    - xorg-server-xwayland
    - json-c
    - wayland
    - wayland-protocols
    - xcb-util-image
    - pango
    - cairo
    - gdk-pixbuf2
    - libcap
    - libinput
    - libxkbcommon
  script:
    - git clone https://github.com/swaywm/wlroots
    - 'cd wlroots && meson --prefix=/usr build && ninja -C build && sudo ninja -C build install'
    - meson build --buildtype=$BUILD_TYPE
    - ninja -C build

script:
  - "curl -s https://raw.githubusercontent.com/mikkeloscar/arch-travis/master/arch-travis.sh | bash"