Fix Travis: Add llvm to environment

without.crypto
Dan Burkert 10 years ago
parent c83dc25eaa
commit 07aaace72f
  1. 12
      .travis.yml

@ -1,11 +1,19 @@
env: env:
global: global:
- secure: LhiHXBKaxsubX45eMukb39IDKaM0mdMzE8Ow4DCnq/yFTZn22ju/H3nMawk0X74gCMXsrADErcBke/7+mHV5GgToqtKjr8RaZDwAmZtzDgdrvJlqy+w59WbvJKuPXYGN0dPiVSkt/fFGf7qGFjLj0DiGZHw05XmBSq+90Qn3Iqw= - secure: LhiHXBKaxsubX45eMukb39IDKaM0mdMzE8Ow4DCnq/yFTZn22ju/H3nMawk0X74gCMXsrADErcBke/7+mHV5GgToqtKjr8RaZDwAmZtzDgdrvJlqy+w59WbvJKuPXYGN0dPiVSkt/fFGf7qGFjLj0DiGZHw05XmBSq+90Qn3Iqw=
language: rust 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: script:
- cargo build -v - LIBCLANG_PATH=/usr/lib/llvm-3.4/lib cargo build --verbose
- cargo test -v - cargo test -v
- cargo doc - cargo doc
compiler: clang
after_script: after_script:
- mv target/doc . && curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh - mv target/doc . && curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh

Loading…
Cancel
Save