-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
45 lines (38 loc) · 1.85 KB
/
.travis.yml
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
37
38
39
40
41
42
43
44
language: c
compiler:
- gcc
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "qX8RgroMY/komMhQ6TD2dfGPNuUSUVlbN2Zik5r8omeKFeGz55vfatVH2N4wU2a2ynmS5BCg8YyyEBHVCH5nNbuDdBZEEtZTqn9WwY5DAHgqtEw0ASUrG+t0hMXR/cz+TImpIl4sttA9RkdAJBy72VnxMb3gYoj/thAwm4KraEjZmI3MM0JBTA3kD5PvKGcwQ0krocBcmx7W/93h4Ys3daEUPEl2TGcNjM7L7w/dYyKhmWP/clkrXUzhCdSFeibztEUz27G4chF7Zc/VGfAAnlEv8j0JAt3wd+O7Jlfxhsh64KjDPtuVaJTgqXcooHzRbxVvmg46twNxk+qhrQ03zogk4vcv8PElmpC657+JAxgu8ntIDue8slihfKL9M90vpX6UOWnbDba0vwwukNsWg13681ogjP0M1W8ANXQvTH0zdZlOWSxCUg25ZLDJBNBa5nmYCLi2ILJUypU6+m0aQta+FL78+bMweA85WrX5TEWN1np7IaEo6+mIp6ZjMkdjbuK7Q1afv+L5qB/vEHI41VHzoIM7ea2SywYit25yf0mehv1hp9E5JNS9dhlQ5d7oaoYqNdTEE2T+rbbkm+0ie/pCKvOPdL69vFt7dp99x0i/kt2tMl6LQKTLOVtMSrXMDVlpmIYz5ELt9nLQp/QjV/SWRYP8RAg8NPM5JVmR+dw="
before_install:
- uname -a
- export DEBIAN_FRONTEND=noninteractive
- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu trusty universe"
- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu trusty main"
- sudo apt-get update -qq
- sudo DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" install -qq dbus libdbus-1-3 libdbus-1-dev
script:
- make clean
- make
- ls -la
- sudo make install
- ls /dev/input/*
- ls -la /dev/input/by-path/
- sudo ./test_ci_kbd_backlight_ctrl.sh
- sudo make uninstall
addons:
coverity_scan:
project:
name: "ruben2020/kbd_backlight_ctrl"
description: "Build submitted via Travis CI"
notification_email: [email protected]
build_command_prepend: "make clean"
build_command: "make"
branch_pattern: coverity_scan
notifications:
email:
on_success: change
on_failure: always