Skip to content

Commit

Permalink
travis
Browse files Browse the repository at this point in the history
  • Loading branch information
fetzerch committed Mar 17, 2018
1 parent 0163f71 commit 7ad83fa
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 16 deletions.
42 changes: 26 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,44 @@
language: cpp
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- avr-libc
- cmake
- doxygen
- g++-6
- ninja-build
jobs:
include:
- before_install:
- 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 . --target all
- 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
#-e tests -e target -e cmake -e build
- script:
- 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 . --target all
- cmake --build .
- language: python
python: 3.6
install: pip install tox
script: cd tools && tox
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
[![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?branch=master)](https://coveralls.io/github/fetzerch/atMETEO?branch=master)

atMETEO - An ATmega based weather station
=========================================

Expand Down

0 comments on commit 7ad83fa

Please sign in to comment.