From 07aaace72f56baa90e8f34097937084d15b10302 Mon Sep 17 00:00:00 2001 From: Dan Burkert Date: Sat, 20 Dec 2014 14:31:07 -0800 Subject: [PATCH] Fix Travis: Add llvm to environment --- .travis.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6292541..35bce87 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,19 @@ env: global: - secure: LhiHXBKaxsubX45eMukb39IDKaM0mdMzE8Ow4DCnq/yFTZn22ju/H3nMawk0X74gCMXsrADErcBke/7+mHV5GgToqtKjr8RaZDwAmZtzDgdrvJlqy+w59WbvJKuPXYGN0dPiVSkt/fFGf7qGFjLj0DiGZHw05XmBSq+90Qn3Iqw= + language: rust + +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://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 script: - - cargo build -v + - LIBCLANG_PATH=/usr/lib/llvm-3.4/lib cargo build --verbose - cargo test -v - cargo doc -compiler: clang + after_script: - mv target/doc . && curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh