Revision c598cbecfd4035df99c8c9755b93710583e4cdac authored by Kenichi Maehashi on 16 December 2020, 04:31:56 UTC, committed by Kenichi Maehashi on 16 December 2020, 05:00:41 UTC
1 parent cfa300f
Raw File
.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"
      - GOROOT=$HOME/go
      if: type in (pull_request)

    - name: "Examples"
      language: python
      dist: xenial
      python: "3.5"
      env:
      - CHAINER_TRAVIS_TEST="examples"
      - GOROOT=$HOME/go

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

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
    packages:
      - moreutils  # for ts
  homebrew:
    update: true
    packages:
      - moreutils  # for ts
back to top