]> www.infradead.org Git - users/mchehab/rasdaemon.git/commitdiff
Add support for Travis CI builds
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 11 Jun 2019 17:32:02 +0000 (14:32 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 11 Jun 2019 17:36:27 +0000 (14:36 -0300)
Let it be built with Travis CI when merged at github.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
.travis.yml [new file with mode: 0644]

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..5434482
--- /dev/null
@@ -0,0 +1,27 @@
+language: cpp
+compiler: gcc
+dist: bionic
+notifications:
+  email:
+    recipients:
+    - mchehab@kernel.org
+    on_success: change
+    on_failure: always
+cache:
+  directories:
+  - $HOME/.ccache
+  - $HOME/pbuilder-bases
+matrix:
+  include:
+  - env: TARGET_OS=bionic
+  - compiler: clang
+    env: TARGET_OS=bionic
+before_install:
+- sudo apt-get install -y sqlite3
+install:
+- autoreconf -vfi
+- ./configure --enable-mce --enable-aer --enable-sqlite3 --enable-extlog --enable-abrt-report
+script:
+- make && sudo make install
+after_script:
+- ccache -s