https://github.com/catboost/catboost
Raw File
Tip revision: 0104b00738526baa264a6e5047a4f5fee13ac659 authored by kizill on 01 November 2017, 17:08:42 UTC
update version to 0.3.1
Tip revision: 0104b00
.travis.yml
sudo: false
cache:
  packages: true
  apt: true
  directories:
    - $HOME/.ya

notifications:
  email: false

addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - build-essential
      - libc6-dev
      - python-dev
      - python3-dev

before_script: |
    # `ya` provides it's own compiler toolchains, `CC` and CXX` environment variables will override
    # them so we have to unset them.
    #
    unset CC
    unset CXX

matrix:
  include:
    - os: linux
      dist: trusty
      language: cpp
      env: CB_BUILD_AGENT='clang-linux-x86_64-debug'
      script: ~/build/${TRAVIS_REPO_SLUG}/ci/travis/script.sh
    - os: linux
      dist: trusty
      language: cpp
      env: CB_BUILD_AGENT='clang-linux-x86_64-release'
      script: ~/build/${TRAVIS_REPO_SLUG}/ci/travis/script.sh
    - os: linux
      dist: trusty
      language: python
      python: 2.7
      env: CB_BUILD_AGENT='python2-linux-x86_64-release'
      script: ~/build/${TRAVIS_REPO_SLUG}/ci/travis/script.sh
    - os: linux
      dist: trusty
      language: python
      python: 3.4
      env: CB_BUILD_AGENT='python3-linux-x86_64-release'
      script: ~/build/${TRAVIS_REPO_SLUG}/ci/travis/script.sh
    - os: linux
      dist: trusty
      language: r
      r: release
      before_install: cd catboost/R-package
      env: CB_BUILD_AGENT='r-linux-x86_64-release'
    - os: osx
      osx_image: xcode8.3
      language: cpp
      env: CB_BUILD_AGENT='clang-darwin-x86_64-debug'
      script: ~/build/${TRAVIS_REPO_SLUG}/ci/travis/script.sh
    - os: osx
      osx_image: xcode8.3
      language: cpp
      env: CB_BUILD_AGENT='clang-darwin-x86_64-release'
      script: ~/build/${TRAVIS_REPO_SLUG}/ci/travis/script.sh
    - os: osx
      osx_image: xcode8.3
      # python runtime is not available yet [1], so we have to prepare sandbox by ourselves
      # [1] https://github.com/travis-ci/travis-ci/issues/2312
      #
      language: generic
      before_install: brew update
      install: |
        # vm already has python 2.7 installed, we do it here only for consistency with python3 build
        #
        brew install python
        virtualenv py2env -p python2
        source py2env/bin/activate
      env: CB_BUILD_AGENT='python2-darwin-x86_64-release'
      script: ~/build/${TRAVIS_REPO_SLUG}/ci/travis/script.sh
    - os: osx
      osx_image: xcode8.3
      language: generic
      before_install: brew update
      install: |
        brew install python3
        virtualenv py3env -p python3
        source py3env/bin/activate
      env: CB_BUILD_AGENT='python3-darwin-x86_64-release'
      script: ~/build/${TRAVIS_REPO_SLUG}/ci/travis/script.sh
    - os: osx
      osx_image: xcode8.3
      language: r
      r: release
      before_install: cd catboost/R-package
      env: CB_BUILD_AGENT='r-darwin-x86_64-release'
  allow_failures:
    - language: r
back to top