From a4eec6026bb5fc3d1027093cbc447a9297e47313 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Sun, 4 Mar 2018 13:29:56 +0000 Subject: [PATCH] travis: add basic build check And a badge to the readme. --- .travis.yml | 10 ++++++++++ README.md | 1 + 2 files changed, 11 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..9fe29a8 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,10 @@ +language: c +script: + - make + +addons: + apt: + sources: + - sourceline: 'ppa:team-gcc-arm-embedded/ppa' + packages: + - gcc-arm-embedded diff --git a/README.md b/README.md index 2746bf7..5409cfa 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # README +[![Build Status](https://travis-ci.org/libopencm3/libopencm3-examples.svg?branch=master)](https://travis-ci.org/libopencm3/libopencm3-examples) [![Gitter channel](https://badges.gitter.im/libopencm3/discuss.svg)](https://gitter.im/libopencm3/discuss)