aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: ec5678b81f95ab799f4d11d5f49c0427aa152cab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#dist: ubuntu-precise
sudo: required
language: cpp
matrix:
  include:
    os: linux
    compiler: clang
    #addons: 
    #  apt: 
    #    packages: 
    #      - clang-3.9
    #      - libclang-3.9-dev
    #      - libllvm3.9
    #      - libstdc++-6-dev
    #env: COMPILER=clang++-3.9

before_script: 
  - sudo add-apt-repository ppa:ubuntu-toolchain-r/test
  - wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key|sudo apt-key add -
  - echo "deb http://apt.llvm.org/precise/ llvm-toolchain-precise-3.9 main" | sudo tee -a /etc/apt/sources.list
  - sudo apt-get update -qq
  - travis_wait 30 sudo apt-get install clang-3.9 libclang-3.9-dev libclang-common-3.9-dev libllvm3.9 llvm-3.9-dev llvm-3.9 -y
  #- sudo apt-get install clang-4.0 libclang-common-4.0-dev libclang-4.0-dev libclang1-4.0 libclang1-4.0-dbg libllvm4.0 libllvm4.0-dbg lldb-4.0 llvm-4.0 llvm-4.0-dev llvm-4.0-runtime lldb-4.0-dev liblldb-4.0-dbg
script: make