Skip to content
Snippets Groups Projects
Select Git revision
  • master
  • 0.29.x
  • release
  • clean_up_capi_features
  • wild/ca97a9b4fd5e640e7bca68bece4a93bf09b70048
  • branch/OpenVMS default protected
  • gh3578_refleak
  • gh3092_percent_d_format
  • wild/162972e7c0335748b70e02edc37e5e3bbb4858ae
  • master_bookmark
  • gh2781_pep487_init_subclass_bookmark
  • branch/default
  • wild/8ce17460140adb110777d1fa69cc4154135c1ba2
  • 0.29.x_bookmark
  • release_bookmark
  • wild/292d4a5631697147dae2cd7beec8072d7aafbbbf
  • full_code_writer
  • full_code_writer_bookmark
  • fix_srctree_tests_on_windows_bookmark
  • optimise_pysequence_list_bookmark
20 results

.travis.yml

Blame
  • .travis.yml 5.66 KiB
    os: linux
    language: python
    
    addons:
      apt:
        packages:
          - gdb
          - python-dbg
          - python3-dbg
          - libzmq-dev  # needed by IPython/Tornado
          #- gcc-8
          #- g++-8
    
    cache:
      pip: true
      directories:
        - $HOME/.ccache
    
    python:
      - 3.8
      - 2.7
      - 3.9-dev
      - 3.7
      - 3.6
      - 3.5
      - 3.4
    
    env:
      global:
        - USE_CCACHE=1
        - CCACHE_SLOPPINESS=pch_defines,time_macros
        - CCACHE_COMPRESS=1
        - CCACHE_MAXSIZE=250M
        - PATH="/usr/lib/ccache:$HOME/miniconda/bin:$PATH"
        - BACKEND=c,cpp
      matrix:
        - BACKEND=c
        - BACKEND=cpp
    
    matrix:
      include:
        # slowest first
        - os: osx
          osx_image: xcode10.3
          env: PY=2 MACOSX_DEPLOYMENT_TARGET=10.9
          python: 2
          language: c
          compiler: clang
          cache: false
        - os: osx
          osx_image: xcode10.3
          env: PY=3 MACOSX_DEPLOYMENT_TARGET=10.9
          python: 3
          language: c
          compiler: clang
          cache: false
    # Disabled: coverage analysis takes excessively long, several times longer than without.
    #    - python: 3.7
    #      env: COVERAGE=1
        - python: 3.7
          env: TEST_CODE_STYLE=1
        - python: 3.8
          env: LIMITED_API=--limited-api EXCLUDE=--no-file
        - python: 3.7
          env: LIMITED_API=--limited-api EXCLUDE=--no-file
        - python: 3.6
          env: LIMITED_API=--limited-api EXCLUDE=--no-file
        - env: STACKLESS=true BACKEND=c PY=2
          python: 2.7
        - env: STACKLESS=true BACKEND=c PY=3