Changeset ccea254 in mainline


Ignore:
Timestamp:
2018-03-29T13:47:38Z (6 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e8f6f94
Parents:
fb08c47 (diff), 40b7fd3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
jxsvoboda <5887334+jxsvoboda@…> (2018-03-29 13:47:38)
git-committer:
GitHub <noreply@…> (2018-03-29 13:47:38)
Message:

Merge pull request #29 from jxsvoboda/master

Add Ccheck to Travis CI

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • .travis.yml

    rfb08c47 rccea254  
    4040    - CROSS_PREFIX=/usr/local/cross-static/
    4141  matrix:
     42    - H_CCHECK=true
    4243    - H_ARCH=amd64
    4344    - H_ARCH=arm32/beagleboardxm
  • tools/travis.sh

    rfb08c47 rccea254  
    8282fi
    8383
     84# C style check
     85if [ -n "$H_CCHECK" ]; then
     86    echo "Will try to run C style check."
     87    echo
     88    rm -rf tools/sycek
     89    make ccheck || exit 1
     90    echo "C style check passed."
     91    exit 0
     92fi
     93
    8494# Check HelenOS configuration was set-up
    8595if [ -z "$H_ARCH" ]; then
     
    97107
    98108# Custom CROSS_PREFIX
    99 export CROSS_PREFIX=/usr/local/cross-static/
     109if [ ."$CROSS_PREFIX" == . ]; then
     110        export CROSS_PREFIX=/usr/local/cross-static/
     111fi
    100112
    101113# Default Harbours repository
     
    114126    echo "export H_HARBOURS=true"
    115127    echo "export H_HARBOUR_LIST=\"$H_DEFAULT_HARBOURS_LIST\""
     128    echo
     129    echo "or"
     130    echo
     131    echo "export H_CCHECK=true"
    116132    echo
    117133    exit 0
Note: See TracChangeset for help on using the changeset viewer.