travis: fix errors
authorMark Kavanagh <mark.b.kavanagh@intel.com>
Wed, 8 Apr 2015 22:30:06 +0000 (23:30 +0100)
committerThomas Graf <tgraf@noironetworks.com>
Mon, 13 Apr 2015 08:36:12 +0000 (10:36 +0200)
commit418d2485aa029015389768bbc2f66a50c6281880
treeb9f1e4bd9c070e29559561c831802f26f43cea89
parente8fe6ad03aa3d25b5ae99190d5aa065705a1b3c8
travis: fix errors

Fix two issues observed in travis scripts:
- prepare.sh: add '-E' flag to ensure user environmental variables
  (for example, URL of the proxy server) are passed to 'sudo'
- build.sh: add quotes around compiler variable to fix 'unary
  operator expected' error

[tgraf: Fixed two additional occurrences of missing "]

Signed-off-by: Mark Kavanagh <mark.b.kavanagh@intel.com>
Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
.travis/build.sh
.travis/prepare.sh