-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
project: Add Travis CI configuration
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
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters