summaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 076be113f079b1fc73af7d7b2574b2104db10a6d (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
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
    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