summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Barnard <eabarnard@gmail.com>2014-12-29 22:14:24 +0100
committerEdward Barnard <eabarnard@gmail.com>2014-12-29 23:41:28 +0100
commite81f8e2420b7aff83207ec18d866c3af096da016 (patch)
treecc112281824c81a304b3ee27a70d4ccdb222eab9
parent59d21bed70cd279cb35e86a0082147e7f591086f (diff)
Run travis with llvm 3.4 and 3.5. Stop running tests until #89 is fixed.
-rw-r--r--.travis.yml11
1 files changed, 7 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 83dac23d..dae798ac 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,10 +1,13 @@
language: rust
-
+env:
+ - LLVM_VERSION=3.4
+ - LLVM_VERSION=3.5
before_install:
- - yes | sudo add-apt-repository "deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.4 main"
+ - yes | sudo add-apt-repository "deb http://llvm.org/apt/precise/ llvm-toolchain-precise-${LLVM_VERSION} main"
- yes | sudo add-apt-repository "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu precise main"
- sudo apt-get update
install:
- - sudo apt-get install --force-yes libclang-3.4-dev
+ - sudo apt-get install --force-yes libclang-${LLVM_VERSION}-dev
script:
- - LIBCLANG_PATH=/usr/lib/llvm-3.4/lib cargo test --verbose --jobs 1
+ - export LIBCLANG_PATH=/usr/lib/llvm-${LLVM_VERSION}/lib
+ - cargo build --verbose