travis-ci: set env vars to name jobs

Travis CI names sub-jobs after the first environment variable that is set
for a script. This doesn't produce meaningful results for any of the non-
buildman jobs. Add a dummy variable to give the jobs meaningful names.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
master
Stephen Warren 8 years ago committed by Tom Rini
parent 1df182ddf7
commit d7882210d3
  1. 24
      .travis.yml

@ -160,30 +160,42 @@ matrix:
# QA jobs for code analytics # QA jobs for code analytics
# static code analysis with cppcheck (we can add --enable=all later) # static code analysis with cppcheck (we can add --enable=all later)
- script: - env:
- JOB="cppcheck"
script:
- cppcheck --force --quiet --inline-suppr . - cppcheck --force --quiet --inline-suppr .
# search for TODO within source tree # search for TODO within source tree
- script: - env:
- JOB="grep TODO"
script:
- grep -r TODO . - grep -r TODO .
# search for FIXME within source tree # search for FIXME within source tree
- script: - env:
- JOB="grep FIXME HACK"
script:
- grep -r FIXME . - grep -r FIXME .
# search for HACK within source tree and ignore HACKKIT board # search for HACK within source tree and ignore HACKKIT board
script: script:
- grep -r HACK . | grep -v HACKKIT - grep -r HACK . | grep -v HACKKIT
# some statistics about the code base # some statistics about the code base
- script: - env:
- JOB="sloccount"
script:
- sloccount . - sloccount .
# test/py # test/py
- script: - env:
- JOB="test.py sandbox"
script:
- ./test/py/test.py --bd sandbox --build - ./test/py/test.py --bd sandbox --build
- env: - env:
- JOB="test.py ARM"
- CROSS_COMPILE="/usr/bin/arm-linux-gnueabihf-" - CROSS_COMPILE="/usr/bin/arm-linux-gnueabihf-"
script: script:
- ./test/py/test.py --bd vexpress_ca15_tc2 --id qemu --build; - ./test/py/test.py --bd vexpress_ca15_tc2 --id qemu --build;
./test/py/test.py --bd vexpress_ca9x4 --id qemu --build; ./test/py/test.py --bd vexpress_ca9x4 --id qemu --build;
./test/py/test.py --bd integratorcp_cm926ejs --id qemu --build; ./test/py/test.py --bd integratorcp_cm926ejs --id qemu --build;
- env: - env:
- JOB="test.py MIPS"
- TOOLCHAIN="mips" - TOOLCHAIN="mips"
CROSS_COMPILE="${HOME}/.buildman-toolchains/gcc-4.9.0-nolibc/mips-linux/bin/mips-linux-" CROSS_COMPILE="${HOME}/.buildman-toolchains/gcc-4.9.0-nolibc/mips-linux/bin/mips-linux-"
script: script:
@ -192,10 +204,12 @@ matrix:
./test/py/test.py --bd qemu_mips64 --build -k 'not sleep'; ./test/py/test.py --bd qemu_mips64 --build -k 'not sleep';
./test/py/test.py --bd qemu_mips64el --build -k 'not sleep'; ./test/py/test.py --bd qemu_mips64el --build -k 'not sleep';
- env: - env:
- JOB="test.py PowerPC"
- CROSS_COMPILE="/usr/bin/powerpc-linux-gnu-" - CROSS_COMPILE="/usr/bin/powerpc-linux-gnu-"
script: script:
- ./test/py/test.py --bd qemu-ppce500 --build -k 'not sleep' - ./test/py/test.py --bd qemu-ppce500 --build -k 'not sleep'
- env: - env:
- JOB="test.py x86-64"
- TOOLCHAIN="x86_64" - TOOLCHAIN="x86_64"
BUILD_ROM=yes BUILD_ROM=yes
CROSS_COMPILE="${HOME}/.buildman-toolchains/gcc-4.9.0-nolibc/x86_64-linux/bin/x86_64-linux-" CROSS_COMPILE="${HOME}/.buildman-toolchains/gcc-4.9.0-nolibc/x86_64-linux/bin/x86_64-linux-"

Loading…
Cancel
Save