File: .travis.yml

package info (click to toggle)
rampler 2.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 136 kB
  • sloc: cpp: 286; sh: 39; makefile: 6
file content (47 lines) | stat: -rw-r--r-- 970 bytes parent folder | download | duplicates (2)
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
dist: trusty

language: cpp

matrix:
  include:
    - name: "GCC 4.8 (Linux)"  # GCC 4.8.5 & CMake 3.9.2
      os: linux
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - g++-4.8
            - cmake
      env:
        - SET_COMPILER="export CC=gcc-4.8 && export CXX=g++-4.8"

    - name: "Clang 4.0 (Linux)"  # Clang 4.0 & CMake 3.9.2
      os: linux
      addons:
        apt:
          sources:
            - llvm-toolchain-trusty-4.0
          packages:
            - clang-4.0
            - cmake
      env:
        - SET_COMPILER="export CC=clang-4.0 && export CXX=clang++-4.0"

    - name: "Clang Xcode 9.0 (OSX)"  # Clang 9.0.0 & CMake 3.9.2
      os: osx
      osx_image: xcode9

before_install:
  - eval "${SET_COMPILER}"

install:
  - mkdir build && cd build
  - cmake -DCMAKE_BUILD_TYPE=Release .. && make

script:
  - ./bin/rampler --version

notifications:
  email:
    on_failure: always