Skip to content
Snippets Groups Projects
Select Git revision
  • fa118f0cd32e9b6cba68df10a176b502407243c8
  • main default protected
  • 3.10
  • 3.11
  • revert-15688-bpo-38031-_io-FileIO-opener-crash
  • 3.8
  • 3.9
  • 3.7
  • enum-fix_auto
  • branch-v3.11.0
  • backport-c3648f4-3.11
  • gh-93963/remove-importlib-resources-abcs
  • refactor-wait_for
  • shared-testcase
  • v3.12.0a2
  • v3.12.0a1
  • v3.11.0
  • v3.8.15
  • v3.9.15
  • v3.10.8
  • v3.7.15
  • v3.11.0rc2
  • v3.8.14
  • v3.9.14
  • v3.7.14
  • v3.10.7
  • v3.11.0rc1
  • v3.10.6
  • v3.11.0b5
  • v3.11.0b4
  • v3.10.5
  • v3.11.0b3
  • v3.11.0b2
  • v3.9.13
34 results

.travis.yml

Blame
  • .travis.yml 6.49 KiB
    language: c
    dist: bionic
    
    # To cache doc-building dependencies and C compiler output.
    cache:
      - pip
      - ccache
      - directories:
        - $HOME/multissl
    
    env:
      global:
        - OPENSSL=1.1.1k
        - OPENSSL_DIR="$HOME/multissl/openssl/${OPENSSL}"
        - PATH="${OPENSSL_DIR}/bin:$PATH"
        - CFLAGS="-I${OPENSSL_DIR}/include"
        - LDFLAGS="-L${OPENSSL_DIR}/lib"
        # Set rpath with env var instead of -Wl,-rpath linker flag
        # OpenSSL ignores LDFLAGS when linking bin/openssl
        - LD_RUN_PATH="${OPENSSL_DIR}/lib"
        - PYTHONSTRICTEXTENSIONBUILD=1
    
    branches:
      only:
        - master
        - /^\d\.\d+$/
        - buildbot-custom
    
    matrix:
      fast_finish: true
      allow_failures:
        - env: OPTIONAL=true
      include:
        - name: "CPython tests"
          os: linux
          language: c
          compiler: clang
          # gcc also works, but to keep the # of concurrent builds down, we use one C
          # compiler here and the other to run the coverage build. Clang is preferred
          # in this instance for its better error messages.
          env: TESTING=cpython
          addons:
            apt:
              packages:
                - gdb
                - xvfb
        - name: "Documentation build"
          os: linux
          language: python
          # Build the docs against a stable version of Python so code bugs don't hold up doc-related PRs.
          python: 3.6
          env: TESTING=docs
          before_script:
            - cd Doc
            - make venv PYTHON=python
          script:
            - make check html suspicious SPHINXOPTS="-q -W -j4"
        - name: "Documentation tests"
          os: linux
          language: c
          compiler: clang
          env: TESTING=doctest
          addons:
            apt:
              packages:
                - xvfb
          before_script:
            - ./configure
            - make -j4
            - make -C Doc/ PYTHON=../python venv