summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2016-10-24 16:41:48 -0600
committerTom Rini <trini@konsulko.com>2016-10-28 22:10:41 -0400
commitd7882210d3796a79a33da54a902b2a09a45f81d4 (patch)
tree6c2f0d4767364251e9ade295d23ecea1a2192b72 /.travis.yml
parent1df182ddf700de49fb4400ba67c3029278ea88e7 (diff)
downloadu-boot-d7882210d3796a79a33da54a902b2a09a45f81d4.tar.gz
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>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml24
1 files changed, 19 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index d65c570587..a172180a99 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -160,30 +160,42 @@ matrix:
# QA jobs for code analytics
# static code analysis with cppcheck (we can add --enable=all later)
- - script:
+ - env:
+ - JOB="cppcheck"
+ script:
- cppcheck --force --quiet --inline-suppr .
# search for TODO within source tree
- - script:
+ - env:
+ - JOB="grep TODO"
+ script:
- grep -r TODO .
# search for FIXME within source tree
- - script:
+ - env:
+ - JOB="grep FIXME HACK"
+ script:
- grep -r FIXME .
# search for HACK within source tree and ignore HACKKIT board
script:
- grep -r HACK . | grep -v HACKKIT
# some statistics about the code base
- - script:
+ - env:
+ - JOB="sloccount"
+ script:
- sloccount .
# test/py
- - script:
+ - env:
+ - JOB="test.py sandbox"
+ script:
- ./test/py/test.py --bd sandbox --build
- env:
+ - JOB="test.py ARM"
- CROSS_COMPILE="/usr/bin/arm-linux-gnueabihf-"
script:
- ./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 integratorcp_cm926ejs --id qemu --build;
- env:
+ - JOB="test.py MIPS"
- TOOLCHAIN="mips"
CROSS_COMPILE="${HOME}/.buildman-toolchains/gcc-4.9.0-nolibc/mips-linux/bin/mips-linux-"
script:
@@ -192,10 +204,12 @@ matrix:
./test/py/test.py --bd qemu_mips64 --build -k 'not sleep';
./test/py/test.py --bd qemu_mips64el --build -k 'not sleep';
- env:
+ - JOB="test.py PowerPC"
- CROSS_COMPILE="/usr/bin/powerpc-linux-gnu-"
script:
- ./test/py/test.py --bd qemu-ppce500 --build -k 'not sleep'
- env:
+ - JOB="test.py x86-64"
- TOOLCHAIN="x86_64"
BUILD_ROM=yes
CROSS_COMPILE="${HOME}/.buildman-toolchains/gcc-4.9.0-nolibc/x86_64-linux/bin/x86_64-linux-"