From 0644464864c7b55fc945c2c990b410d414da1884 Mon Sep 17 00:00:00 2001 From: siddharthist Date: Fri, 4 Mar 2016 13:51:58 -0800 Subject: [PATCH] Remove unused CI script, document CI process Fixes #39 --- README.md | 7 +++++++ scripts/travis.sh | 20 -------------------- 2 files changed, 7 insertions(+), 20 deletions(-) delete mode 100644 scripts/travis.sh diff --git a/README.md b/README.md index cf6c73f..36c108a 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ for building generic Mantl utilities. - [distributive](#distributive) - [distributive-](#distributive-) - [Building](#building) + - [Contributing](#contributing) @@ -196,3 +197,9 @@ Distributive checklists for various Mantl components are included in If you're on linux, run `hammer` to build all of the packages, which will end up in `out`. If you're on another platform, run `./build.sh` to fire up a Vagrant VM that will provision itself with hammer and do the same. + +## Contributing + +If you add a new package, make sure to add its root directory to +`scripts/paths`, and to add its name to the build matrix in `.travis.yml`. +Otherwise, the CI build won't pick it up. diff --git a/scripts/travis.sh b/scripts/travis.sh deleted file mode 100644 index 5b28e34..0000000 --- a/scripts/travis.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash -set -e - -LAST_FILE=.build-info/last-build - -# set build cache if not set -[[ ! -f $LAST_FILE ]] && git rev-list --max-parents=0 HEAD > $LAST_FILE - -LAST=$(cat .build-info/last-build) -CURRENT=$(git rev-parse HEAD) -NAMES=$(python scripts/names.py $LAST $CURRENT) - -if [[ "$NAMES" == "" ]]; then - echo "no changed packages found"; -else - echo "changed packages found: $NAMES" - hammer build --output=/tmp/out $NAMES -fi - -echo $CURRENT > $LAST_FILE