[ci] Remove pointless $MAKE_TARGETS -

1. there was an odd error when this environment variable wasn't set
    (`[: =: unary operator expected`)
2. this environment variable is not used anywhere else

Removing it makes the logic look much simpler - do make `cooja.jar`
if build type is any other then `compile`.
This commit is contained in:
Ilya Dmitrichenko 2013-03-24 23:28:24 +00:00 committed by Ilya Dmitrichenko
parent 2c6c9160cc
commit 2ce2354c84

View file

@ -18,7 +18,7 @@ before_script:
| tar xzf - -C /tmp/ && sudo cp -f -r /tmp/sdcc-r7100/* /usr/local/ && rm -rf /tmp/sdcc-r7100 && sdcc --version || true" | tar xzf - -C /tmp/ && sudo cp -f -r /tmp/sdcc-r7100/* /usr/local/ && rm -rf /tmp/sdcc-r7100 && sdcc --version || true"
## Compile cooja.jar only when it's going to be needed ## Compile cooja.jar only when it's going to be needed
- "[ $MAKE_TARGETS = cooja ] && java -version && ant -q -f tools/cooja/build.xml jar || true" - "[ ! $BUILD_TYPE = compile ] && java -version && ant -q -f tools/cooja/build.xml jar || true"
## IMPORTANT: The commands here have to end with `|| true`, ## IMPORTANT: The commands here have to end with `|| true`,
## because it would make the test fail if BUILD_TYPE test fails ## because it would make the test fail if BUILD_TYPE test fails
@ -41,16 +41,16 @@ env:
## This magically kick-off parallel jobs for each of the for the sets ## This magically kick-off parallel jobs for each of the for the sets
## of environment variable defined below ## of environment variable defined below
- BUILD_TYPE='compile' - BUILD_TYPE='compile'
- BUILD_TYPE='collect' MAKE_TARGETS='cooja' - BUILD_TYPE='collect'
- BUILD_TYPE='collect-lossy' MAKE_TARGETS='cooja' - BUILD_TYPE='collect-lossy'
- BUILD_TYPE='rpl' MAKE_TARGETS='cooja' - BUILD_TYPE='rpl'
- BUILD_TYPE='rime' MAKE_TARGETS='cooja' - BUILD_TYPE='rime'
- BUILD_TYPE='ipv6' MAKE_TARGETS='cooja' - BUILD_TYPE='ipv6'
- BUILD_TYPE='hello-world' MAKE_TARGETS='cooja' - BUILD_TYPE='hello-world'
- BUILD_TYPE='base' MAKE_TARGETS='cooja' - BUILD_TYPE='base'
# XXX: netperf disabled b/c it's flaky # XXX: netperf disabled b/c it's flaky
# - BUILD_TYPE='netperf' MAKE_TARGETS='cooja' # - BUILD_TYPE='netperf' MAKE_TARGETS='cooja'
- BUILD_TYPE='shell' MAKE_TARGETS='cooja' - BUILD_TYPE='shell'
- BUILD_TYPE='elfloader' MAKE_TARGETS='cooja' - BUILD_TYPE='elfloader'
- BUILD_TYPE='ipv4' MAKE_TARGETS='cooja' - BUILD_TYPE='ipv4'
- BUILD_TYPE='ipv6-apps' MAKE_TARGETS='cooja' - BUILD_TYPE='ipv6-apps'