Skip to content

Commit

Permalink
project: Add Travis CI configuration
Browse files Browse the repository at this point in the history
Doxygen uses the README.md as generated mainpage but fails with image
links. Therefore for the moment the status badges are not clickable.
  • Loading branch information
fetzerch committed Mar 17, 2018
1 parent 95e8db7 commit 35941a5
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
jobs:
include:
- language: cpp
before_install:
- pip install --user cpp-coveralls
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- cmake
- doxygen
- g++-6
- ninja-build
script:
- mkdir build && cd build
- CXX=/usr/bin/g++-6 CC=/usr/bin/gcc-6
cmake -DCMAKE_BUILD_TYPE=Coverage -G Ninja ..
- cmake --build .
- cmake --build . --target test
- cmake --build . --target dox
after_success:
- coveralls -r $TRAVIS_BUILD_DIR -b $TRAVIS_BUILD_DIR/build
--gcov '/usr/bin/gcov-6' --gcov-options '\-lp'
-i lib -e target
- language: cpp
addons:
apt:
packages:
- avr-libc
- cmake
- ninja-build
script:
- mkdir build && cd build
- cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/avr/generic-gcc-avr.cmake
-DBUILD_DOCUMENTATION=OFF
-DTARGET_CONFIGURATION=arduino
-DAVR_MCU=atmega328p
-G Ninja ..
- cmake --build .
- language: python
python: 3.6
install: pip install tox
script: cd tools && tox
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
atMETEO - An ATmega based weather station
=========================================
<!-- @cond Hide from Doxygen-->
[![Build Status](https://travis-ci.org/fetzerch/atMETEO.svg?branch=master)](https://travis-ci.org/fetzerch/atMETEO)
[![Coverage Status](https://coveralls.io/repos/github/fetzerch/atMETEO/badge.svg)](https://coveralls.io/github/fetzerch/atMETEO)
<!-- @endcond -->

As its name implies *atMETEO* is a project for collecting and measuring weather
related data from different sensors. The data is being collected by an ATmega
Expand Down

0 comments on commit 35941a5

Please sign in to comment.