aboutsummaryrefslogtreecommitdiffstats
path: root/circle.yml
blob: 48688eb605287e319c6b48a3b5a85580b66d9825 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
dependencies:
  pre:
    - sudo add-apt-repository -y 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.6 main'
    - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
    - wget -q -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
    - sudo apt-get update -qq
  override:
    - sudo apt-get install g++-4.9 clang-3.6
  post:
    - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 99
    - sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-3.6 99
    - g++ --version
    - clang++ --version

test:
  override:
    - runall() { for f in "$@"; do bash $f; done }; runall:
        parallel: true
        files:
          - src/scripts/ci/circle/*.sh