File: .travis.yml

package info (click to toggle)
yaml-cpp 0.6.3-10
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 8,208 kB
  • sloc: cpp: 68,100; python: 6,832; ansic: 950; makefile: 522; sh: 466
file content (28 lines) | stat: -rw-r--r-- 511 bytes parent folder | download | duplicates (3)
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
language: c++
os:
  - linux
  - osx
compiler:
  - clang
  - gcc
before_install:
  - |
    if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
      sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y \
      && sudo apt-get update -qq \
      && if [ "$CXX" == "g++" ]; then
        sudo apt-get install -qq g++-4.7 && export CXX="g++-4.7" CC="gcc-4.7"
      fi
    fi
before_script:
  - mkdir build
  - cd build
  - cmake ..
script:
  - make
  - test/run-tests

matrix:
  exclude:
  - os: linux
    compiler: clang