Automated builds (#122)

* add travis and appveyor build scripts

* add travis and appveyor badges to README.md
pull/125/head
Hans-Erik Floryd 2017-08-07 17:33:08 +02:00 committed by nakarlsson
parent 59a87a36c1
commit c8a11227b5
3 changed files with 23 additions and 0 deletions

8
.travis.yml 100644
View File

@ -0,0 +1,8 @@
language: c
script:
- mkdir build
- pushd build
- cmake .. -DCMAKE_BUILD_TYPE=Release
- make install
- popd

View File

@ -1,6 +1,11 @@
# Simple Open EtherCAT Master Library
[![Build Status](https://travis-ci.org/OpenEtherCATsociety/SOEM.svg?branch=master)](https://travis-ci.org/OpenEtherCATsociety/SOEM)
[![Build status](https://ci.appveyor.com/api/projects/status/bqgirjsxog9k1odf?svg=true)](https://ci.appveyor.com/project/hefloryd/soem-5kq8b)
BUILDING
========
Prerequisites for all platforms
-------------------------------

10
appveyor.yml 100644
View File

@ -0,0 +1,10 @@
version: "{build}"
install:
- cmd: '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x86'
build_script:
- cmd: mkdir build
- cmd: cd build
- cmd: cmake .. -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release
- cmd: nmake install