aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2016-01-11 10:48:33 -0200
committerLucas De Marchi <lucas.demarchi@intel.com>2016-01-11 11:19:36 -0200
commit9132c59ebcce5edbf965b4d46415a50d4b70baf8 (patch)
tree34f2227d27e2b19720376818f63850a67540102a
parent4c30a11d5fa84ebfdd3a8f05fa4ba1c16c074f43 (diff)
downloadkmod-9132c59ebcce5edbf965b4d46415a50d4b70baf8.tar.gz
travis: workaround bug in environment setup
Travis is poluting the environment, particularly PYTHON_CFLAGS which makes the build to fail. Just unset the variable since we don't want to override these cflags.
-rw-r--r--.travis.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 9df2ba8..f3262a5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,6 +10,7 @@ before_install:
- if [ "$MYCC" = "gcc-4.8" ]; then sudo apt-get install -qq gcc-4.8; sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90; gcc --version; fi
- if [ "$MYCC" = "gcc-4.9" ]; then sudo apt-get install -qq gcc-4.9; sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 90; gcc --version; fi
before_script:
+ - unset PYTHON_CFLAGS # hack to broken travis setup
- export KDIR="$(find /lib/modules/* -maxdepth 1 -name build | sort -n --reverse | head -1)"
matrix:
include: