.travis.yml 865 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
sudo: required

language: cpp

compiler:
  - gcc
  - clang

arch:
  packages:
    - extra-cmake-modules
    - kdoctools
    - python
Elvis Angelaccio's avatar
Elvis Angelaccio committed
14
    - kitemmodels
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
    - kparts
    - kpty
    - libarchive
    - hicolor-icon-theme
    - p7zip
    - unzip
    - zip
    - lrzip
    # for GUI tests
    - xorg-server-xvfb
    # from AUR:
    - rar
    - unarchiver
  script:
    - "cmake -DCMAKE_BUILD_TYPE=Debug -DKDE_INSTALL_LIBDIR=lib -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DCMAKE_INSTALL_PREFIX=/usr ."
    - "make"
    - "sudo make install"
    # run the tests using the xvfb-run wrapper
33
34
    # https://bugzilla.redhat.com/show_bug.cgi?id=904851#c5 fixes 'libGL error: failed to load driver: swrast'
    - "xvfb-run -s \"-screen 0 640x480x24\" ctest --output-on-failure"
35
36
37

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