.travis.yml
author Robert Lehmann <robert.lehmann@sitec-systems.de>
Tue, 28 Jul 2015 16:36:55 +0200
changeset 793 72e9e1064432
parent 737 0590f7941fa8
permissions -rw-r--r--
timers_unix: Fix termination problem of WaitReceiveTaskEnd

The function pthread_kill sends the Signal thread and to the own process.
If you use this construct than the application which calls uses the
canfestival api will terminate at the call of canClose. To avoid that
use pthread_cancel instead of pthread_kill. To use the pthread_cancel call
you need to set the cancel ability in the thread function. That means
you need to call pthread_setcancelstate and pthread_setcanceltype.
For the termination of the thread at any time it is important to set the
cancel type to PTHREAD_CANCEL_ASYNCHRONOUS.
language: "c"
install: "echo"

before_script:
     - sudo apt-get install libxenomai-dev
#    - sudo apt-get install gcc-avr binutils-avr avr-libc

script: "./configure --can=\"$CAN_DRIVER\" --timers=\"$TIMERS\" && make"
branches:
   only:
     - master
notifications:
  recipients:
    - hacking@taedcke.com
  email:
    on_success: change
    on_failure: always
  irc: "irc.freenode.org#canfestival"

env:
    - CAN_DRIVER="virtual"   TIMERS="unix"
    - CAN_DRIVER="vscom"     TIMERS="unix"
    - CAN_DRIVER="can4linux" TIMERS="unix"
    - CAN_DRIVER="lincan"    TIMERS="unix"
    - CAN_DRIVER="socket"    TIMERS="unix"
    - CAN_DRIVER="virtual"   TIMERS="xeno"
    - CAN_DRIVER="socket"    TIMERS="xeno"