https://github.com/chainer/chainer
Raw File
Tip revision: d297a1787ebb35cfce279dde0df64dd2feba4327 authored by Kenichi Maehashi on 21 June 2019, 05:34:03 UTC
Merge pull request #7571 from niboshi/bump-version
Tip revision: d297a17
.travis.yml
language: python

cache:
  - pip
  - ccache

matrix:
  include:
    - name: "Python Static Check"
      dist: xenial
      python: "3.5"
      env:
      - CHAINER_TRAVIS_TEST="python-static-check"
      if: type in (pull_request)

    - name: "C++ Static Check"
      language: python
      dist: xenial
      python: "3.5"
      env:
      - CHAINER_TRAVIS_TEST="c-static-check"
      if: type in (pull_request)

    - name: "Ubuntu16.04 Py35 | chainer, chainermn, chainerx, docs"
      dist: xenial
      python: "3.5"
      env:
      - CHAINER_TRAVIS_TEST="chainer"
      - MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
      if: type in (pull_request)

    - name: "macOS Py35 | chainer, chainermn, chainerx, docs"
      os: osx
      language: generic
      env:
      - CHAINER_TRAVIS_TEST="chainer"
      - PYTHON_VERSION=3.5.1
      - PYENV_ROOT=~/.pyenv
      - PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin
      if: (branch = master OR branch = v6) AND (NOT type in (pull_request))

    - name: "macOS Py27 | chainer, chainermn"
      os: osx
      language: generic
      env:
      - CHAINER_TRAVIS_TEST="chainer"
      - PYTHON_VERSION=2.7.10
      - PYENV_ROOT=~/.pyenv
      - PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin
      - SKIP_CHAINERX=1

before_install:
  - bash scripts/ci/travis/run-tests.sh before_install

install:
  - travis_wait bash scripts/ci/travis/run-tests.sh install

script:
  - bash scripts/ci/travis/run-tests.sh script

addons:
  apt:
    update: true
back to top