Changeset 483a3f4 in mainline


Ignore:
Timestamp:
2018-03-29T13:09:43Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
40b7fd3
Parents:
fb08c47
git-author:
Jiri Svoboda <jiri@…> (2018-03-28 18:07:38)
git-committer:
Jiri Svoboda <jiri@…> (2018-03-29 13:09:43)
Message:

Add ccheck job to travis.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • .travis.yml

    rfb08c47 r483a3f4  
    5555    - H_ARCH=sparc64/niagara
    5656    - H_ARCH=sparc64/ultra
     57    - H_CCHECK=true
    5758before_install:
    5859 - ./tools/travis.sh install
  • tools/travis.sh

    rfb08c47 r483a3f4  
    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.