sudo: required
language: c
branches:
    except:
        - packaging

before_install:
    - sudo apt-get update
install:
    - sudo apt-get install gcc-avr binutils-avr avr-libc valgrind pastebinit
    - pip install --user cpp-coveralls
script:
    - make -f makefile-avr MCU=atmega328p
    - make -f makefile-avr clean
    - make all
    - make -f makefile-coverage all
after_success:
    - coveralls --verbose --exclude test/test.c
    - pastebinit -i valgrind.xml
    - pastebinit -i massif.out
    - pastebinit -i coverage-test.log

sudo: required
language: c
branches:
    except:
        - packaging

before_install:
    - sudo apt-get update
install:
    - sudo apt-get install gcc-avr binutils-avr avr-libc valgrind pastebinit cppcheck
    - pip install --user cpp-coveralls
script:
    - make -f makefile-avr MCU=atmega328p
    - make -f makefile-avr clean
    - make all
    - make -f makefile-coverage all
after_success:
    - coveralls --verbose --exclude test/test.c
    - find . -name "*.c" | xargs cppcheck > cppcheck.log
    - pastebinit -i cppcheck.log
    - pastebinit -i valgrind.xml
    - pastebinit -i massif.out
    - pastebinit -i coverage-test.log

Add cppcheck to Travis file
Add cppcheck to Travis file
