summaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: f6c3501fc540d831a2a20c6eb8ae8e1c01be2200 (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
36
sudo: required 
dist: trusty
language: c
addons:
    apt:
      packages:
          - libxinerama-dev
          - autoconf
          - automake
          - make 
          - libxft-dev
          - libx11-dev
          - libpango1.0-dev
          - libcairo2-dev
          - libstartup-notification0-dev
          - xvfb
          - discount
          - xdotool

compiler:
  - gcc

before_install:
    - autoreconf -i 

script:
    - ./configure --enable-gcov
    - make
    - make test
# to re-enable if xdotool is allowed.
    - make test-x
    - gcov source/rofi.c
    - make distcheck

after_success:
      - bash <(curl -s https://codecov.io/bash)