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

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/wx3.0/ubuntu/ precise universe'
  - sudo apt-get update
install:
  - sudo apt-get install rust-0.9 libclang-3.3-dev libwxgtk3.0-0-unofficial libwxgtk3.0-dev
script:
  - mkdir -p build
  - cd build
  - cmake ..
  - make

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

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/wx3.0/ubuntu/ precise universe'
  - sudo apt-get update
install:
  - sudo apt-get install rust-0.9 libclang-3.3-dev libwxgtk3.0-0-unofficial libwxgtk3.0-dev
script:
  - mkdir -p build
  - cd build
  - cmake ..
  - make

Add rust-0.10 branch to CI build target branches.
Add rust-0.10 branch to CI build target branches.
