Moved LLVM_PATH from env to before_install
@@ -26,11 +26,11 @@ matrix:
- llvm-3.6-dev
before_install:
- export PATH=/usr/lib/llvm-3.6/bin/:$HOME/.local/bin:$PATH
+ - export LLVM_PATH=/usr/share/llvm-3.6/cmake/
- sed -i -e 's/llvm-sys = ".*"/llvm-sys = "36"/' Cargo.toml
- llvm-config --version
env:
- NAME="LLVM 3.6"
- - LLVM_PATH=/usr/share/llvm-3.6/cmake/
script:
- cargo test --no-default-features --features "llvm3-6" --verbose
# LLVM 3.7 Stable
@@ -49,11 +49,11 @@ matrix:
- llvm-3.7-dev
before_install:
- export PATH=/usr/lib/llvm-3.7/bin/:$HOME/.local/bin:$PATH
+ - export LLVM_PATH=/usr/share/llvm-3.7/cmake/
- sed -i -e 's/llvm-sys = ".*"/llvm-sys = "37"/' Cargo.toml
- llvm-config --version
env:
- NAME="LLVM 3.7"
- - LLVM_PATH=/usr/share/llvm-3.7/cmake/
script:
- cargo test --no-default-features --features "llvm3-7" --verbose
