fix "let: not found" on travis builds, tidy up yml
Project: http://git-wip-us.apache.org/repos/asf/incubator-edgent/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-edgent/commit/a9c0af3f Tree: http://git-wip-us.apache.org/repos/asf/incubator-edgent/tree/a9c0af3f Diff: http://git-wip-us.apache.org/repos/asf/incubator-edgent/diff/a9c0af3f Branch: refs/heads/master Commit: a9c0af3f66e98e59f3d26d964b62e4831a8beb72 Parents: 749dd9d Author: Dale LaBossiere <dlab...@us.ibm.com> Authored: Fri Sep 23 10:06:22 2016 -0400 Committer: Dale LaBossiere <dlab...@us.ibm.com> Committed: Tue Sep 27 16:04:08 2016 -0400 ---------------------------------------------------------------------- .travis.yml | 4 +--- connectors/command/src/test/scripts/sinkcmd | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a9c0af3f/.travis.yml ---------------------------------------------------------------------- diff --git a/.travis.yml b/.travis.yml index e1ba5d6..0c5e6fc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ matrix: install: true -# avoid uploading the cache after every build +# avoid uploading the cache after every build (per travis doc) before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ @@ -17,9 +17,7 @@ cache: script: - jdk_switcher use oraclejdk8 - ./gradlew release -Dedgent.build.ci=true -### - ./gradlew test -Dedgent.build.ci=true - ./gradlew test --continue -Dedgent.build.ci=true - ./gradlew test7Compile -Dedgent.build.ci=true - jdk_switcher use oraclejdk7 -### - ./gradlew test7Run -Dedgent.build.ci=true - ./gradlew test7Run --continue -Dedgent.build.ci=true http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/a9c0af3f/connectors/command/src/test/scripts/sinkcmd ---------------------------------------------------------------------- diff --git a/connectors/command/src/test/scripts/sinkcmd b/connectors/command/src/test/scripts/sinkcmd index 93a09a4..71bc1eb 100644 --- a/connectors/command/src/test/scripts/sinkcmd +++ b/connectors/command/src/test/scripts/sinkcmd @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # echo stdin to stdout. terminate after <terminateCount> lines USAGE="$0 [<terminateCount>]"