"googlemock/test/gmock-matchers_test.cc" did not exist on "f7af24c7de14ccb10a24909a6f3440a763cb1164"
.travis.yml 1.38 KB
Newer Older
1
2
language: cpp
sudo: false
3
4
5
6
7
8
9
10
11
12
13
14
15
16
matrix:
  include:
  - os: linux
    compiler: gcc-4.8
    env: PYTHON=2.7 CPP=11
  - os: linux
    compiler: gcc-4.8
    env: PYTHON=3.5 CPP=11
  - os: osx
    osx_image: xcode7.3
    env: PYTHON=2.7 CPP=14
  - os: osx
    osx_image: xcode7.3
    env: PYTHON=3.5 CPP=14
Wenzel Jakob's avatar
Wenzel Jakob committed
17
18
19
cache:
  directories:
  - $HOME/.cache/pip
Omer Katz's avatar
Omer Katz committed
20
  - ccache
21
22
23
24
25
addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
      - deadsnakes
Dean Moldovan's avatar
Dean Moldovan committed
26
      - kubuntu-backports # cmake 2.8.12
27
28
29
30
    packages:
      - g++-4.8
      - python3.5
      - python3.5-dev
Dean Moldovan's avatar
Dean Moldovan committed
31
      - cmake
32
33
34
35
36
37
38
install:
- |
  if [ "$TRAVIS_OS_NAME" = "linux" ]; then
    export CXX=g++-4.8 CC=gcc-4.8;
    pip install --user --upgrade pip virtualenv
    virtualenv -p python$PYTHON venv
  elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
39
40
41
42
43
44
    if [ "${PYTHON:0:1}" = "3" ]; then
      PMAJOR=3; brew update; brew install python$PMAJOR;
    else
      curl -fsSL -O https://bootstrap.pypa.io/get-pip.py
      sudo -H python get-pip.py
    fi
45
46
47
48
49
50
51
52
53
54
55
56
    pip$PMAJOR install --user --upgrade pip virtualenv
    python$PMAJOR -m virtualenv venv
  fi
  source venv/bin/activate
  pip install numpy scipy
- |
  wget -q -O eigen.tar.gz https://bitbucket.org/eigen/eigen/get/3.2.9.tar.gz
  tar xzf eigen.tar.gz
  export CMAKE_INCLUDE_PATH=eigen-eigen-dc6cfdf9bcec
script:
- cmake -DPYBIND11_PYTHON_VERSION=$PYTHON -DPYBIND11_CPP_STANDARD=-std=c++$CPP
- CTEST_OUTPUT_ON_FAILURE=TRUE make check -j 2