branches:
  only:
    - master
    - rust-0.8
    - rust-0.9

before_install:
  - yes | sudo add-apt-repository ppa:hansjorg/rust
  - yes | sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc
  - yes | sudo apt-add-repository 'deb http://repos.codelite.org/wx2.9/ubuntu/ precise universe'
  - sudo apt-get update
install:
  - sudo apt-get install rust-nightly libwxgtk2.9-0-unofficial libwxgtk2.9-dev
  - sudo apt-get install libclang-3.3-dev
script:
  - export LD_LIBRARY_PATH=/usr/lib/llvm-3.3/lib
  - mkdir -p build
  - cd build
  - cmake -DRUSTCFLAGS="-L;/usr/lib/llvm-3.3/lib" ..
  - make

branches:
  only:
    - master
    - rust-0.8
    - rust-0.9

before_install:
  - yes | sudo add-apt-repository ppa:hansjorg/rust
  - yes | sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc
  - yes | sudo apt-add-repository 'deb http://repos.codelite.org/wx2.9/ubuntu/ precise universe'
  - sudo apt-get update
install:
  - sudo apt-get install rust-0.9 libclang-3.3-dev libwxgtk2.9-0-unofficial libwxgtk2.9-dev
script:
  - export LD_LIBRARY_PATH=/usr/lib/llvm-3.3/lib
  - mkdir -p build
  - cd build
  - cmake -DRUSTCFLAGS="-L;/usr/lib/llvm-3.3/lib" ..
  - make

Make Travis CI config for rust-0.9.
Make Travis CI config for rust-0.9.
