Changes in / [fb08c47:ccea254] in mainline


Ignore:
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.