mirror of
https://github.com/AuxXxilium/kmod.git
synced 2024-11-23 23:10:53 +07:00
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.
This commit is contained in:
parent
4c30a11d5f
commit
9132c59ebc
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user