Add a basic travis file for unit tests

Only code formatting implemented at the moment.

  Travis is currently Ubuntu 14.04, which is missing multiple library versions needed. Bootstrapping in Python 3.5, Meson and Ninja is possible, but can take a while, but also bootstrapping in libsystemd is one step too many for now as it takes a significant amount of time.
This commit is contained in:
Marc Di Luzio
2018-04-13 14:32:02 +01:00
parent 56166307b0
commit 1f12bcb892
2 changed files with 25 additions and 0 deletions

11
.travis.yml Normal file
View File

@@ -0,0 +1,11 @@
language: c
compiler: gcc
sudo: false
addons:
apt:
packages:
- clang-format-3.4
script:
- ./scripts/format-check.sh