Permalink
Browse files

Add travis CI

  • Loading branch information...
superm1 committed Jun 8, 2017
1 parent 1d1f42b commit 660d9322acf19a5d97af491b1332ca894e8d2954
Showing with 41 additions and 0 deletions.
  1. +12 −0 .travis.yml
  2. +1 −0 README.md
  3. +21 −0 docker/Dockerfile-debian-unstable
  4. +7 −0 docker/build_and_test.sh
View
@@ -0,0 +1,12 @@
language: c
sudo: required
dist: trusty
services:
- docker
before_script:
- docker build -t libsmbios-debian-unstable -f docker/Dockerfile-debian-unstable .
script:
- docker run -t -v `pwd`:/build libsmbios-debian-unstable ./docker/build_and_test.sh
View
@@ -1,4 +1,5 @@
# libsmbios
[![Build Status](https://travis-ci.org/dell/libsmbios.png)](https://travis-ci.org/dell/libsmbios)
libsmbios provides a library to interface with the SMBIOS tables.
It also provides extensions for proprietary methods of interfacing with Dell specific
SMBIOS tables.
@@ -0,0 +1,21 @@
FROM debian:unstable
RUN echo "deb-src http://deb.debian.org/debian/ unstable main" >> /etc/apt/sources.list
RUN apt-get update -qq
RUN apt-get install -yq --no-install-recommends \
build-essential \
autotools-dev \
doxygen \
graphviz \
python \
chrpath \
libxml2-dev \
pkg-config \
autoconf \
automake \
libtool \
libcppunit-dev \
gettext \
autopoint
RUN mkdir /build
WORKDIR /build
View
@@ -0,0 +1,7 @@
#!/bin/sh
set -e
./autogen.sh --enable-libsmbios_cxx
make
make check
make install

0 comments on commit 660d932

Please sign in to comment.