summaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: fc574735903622d8b96decc6480d9fa93080ebe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
language: c++
sudo: required

addons: &addons
  apt:
    packages: &packages
      - g++-5
      - gcc-5
      - clang-3.7
      - libstdc++-5-dev
      - swig
      - python
      - libzmq5-dev
      - libzmq5
      - automake
      - libtool
      - libboost-dev
    sources: &sources
      - ubuntu-toolchain-r-test
      - llvm-toolchain-precise-3.5
      - llvm-toolchain-precise-3.6
      - llvm-toolchain-precise-3.7
      - llvm-toolchain-precise
      - ubuntu-sdk-team
      - ppa:chris-lea/zeromq
      - ppa:chris-lea/libsodium

before_script:
  - |
      case "$CXX" in #(
      g++*) CXX=g++-5 #(
      ;;
      clang++*) CXX=clang++-3.7
      ;;
      esac
  - |
      case "$CC" in #(
      gcc*) CC=gcc-5 #(
      ;;
      clang*) CC=clang-3.7
      ;;
      esac
  - export CXX CC

compiler:
  - gcc
  - clang

script:
  - bash ./.travis_build.sh