summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: cb701d0fff37647e1b7094c35b05c350ddc857b7 (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

language: cpp

os:
  - linux
  - osx

compiler:
  - clang
  - gcc

env:
  - BUILD_TYPE=Release

matrix:
  exclude:
    - compiler: gcc
      os: osx

before_install:
  - sh projects/scripts/travis-install.sh

install:
  - export PATH=/usr/bin:$PATH
  - cd projects
  - cmake -GUnix\ Makefiles -HCMake -Bbuild -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_C_COMPILER=$CC -DCMAKE_CXX_COMPILER=$CXX
  - cd build
  - make -j2
  - cd ../..

script:
  - cd projects/build
  - ./rxcppv2_test
  - cd ../..

branches:
  only:
    - master

notifications:
  recipients:
    - kirk.shoop@microsoft.com
  email:
    on_success: always
    on_failure: always