Lines Matching +full:build +full:- +full:with +full:- +full:python
4 # To cache doc-building dependencies and C compiler output.
6 - pip
7 - ccache
8 - directories:
9 - $HOME/multissl
13 - OPENSSL=1.1.1f
14 - OPENSSL_DIR="$HOME/multissl/openssl/${OPENSSL}"
15 - PATH="${OPENSSL_DIR}/bin:$PATH"
16 - CFLAGS="-I${OPENSSL_DIR}/include"
17 - LDFLAGS="-L${OPENSSL_DIR}/lib"
18 # Set rpath with env var instead of -Wl,-rpath linker flag
20 - LD_RUN_PATH="${OPENSSL_DIR}/lib"
24 - master
25 - /^\d\.\d$/
26 - buildbot-custom
31 - env: OPTIONAL=true
33 - name: "CPython tests"
38 # compiler here and the other to run the coverage build. Clang is preferred
44 - gdb
45 - xvfb
46 - name: "Documentation build"
48 language: python
49 … # Build the docs against a stable version of Python so code bugs don't hold up doc-related PRs.
50 python: 3.6
53 - cd Doc
54 …inx is pinned so that new versions that introduce new warnings won't suddenly cause build failures.
57 - python -m pip install sphinx==1.8.2 blurb python-docs-theme
59 - make check suspicious html SPHINXOPTS="-q -W -j4"
60 - name: "Documentation tests"
68 - xvfb
70 - ./configure
71 - make -j4
72 - make -C Doc/ PYTHON=../python venv
74 xvfb-run make -C Doc/ PYTHON=../python SPHINXOPTS="-q -W -j4" doctest
75 - name: "Test code coverage (Python)"
83 - xvfb
85 - |
88 echo "Don't run Python coverage on pull requests."
91 - ./configure
92 - make -j4
94 - ./python -m venv venv
95 - ./venv/bin/python -m pip install -U coverage
96 - ./venv/bin/python -m test.pythoninfo
98 # Skip tests that re-run the entire test suite.
99 …- xvfb-run ./venv/bin/python -m coverage run --branch --pylib -m test --fail-env-changed -uall,-cp…
101 …# Make the `coverage` command available to Codecov w/ a version of Python that can parse all sourc…
102 - source ./venv/bin/activate
103 - bash <(curl -s https://codecov.io/bash)
104 - name: "Test code coverage (C)"
112 - lcov
113 - xvfb
115 - |
121 - ./configure
123 - xvfb-run make -j4 coverage-report
125 - make pythoninfo
126 - bash <(curl -s https://codecov.io/bash)
130 - set -e
131 - |
132 # Check short-circuit conditions
137 echo "Not a PR, doing full build."
142 # merge-base commit.
143 git fetch -q origin +refs/heads/$TRAVIS_BRANCH
144 changes=$(git diff --name-only HEAD $(git merge-base HEAD FETCH_HEAD))
147 if ! echo "$changes" | grep -qvE '(\.rst$)|(^Doc)|(^Misc)'
149 echo "Only docs were updated, stopping build process."
156 - |
161 # clang complains about unused-parameter a lot, redirect stderr
162 python3 Tools/ssl/multissltests.py --steps=library \
163 --base-directory ${HOME}/multissl \
164 --openssl ${OPENSSL} >/dev/null 2>&1
166 - openssl version
170 # -Og is much faster than -O0
171 - CFLAGS="${CFLAGS} -Og" ./configure --with-pydebug
172 - make -j4 regen-all
173 - changes=`git status --porcelain`
174 - |
176 if ! test -z "$changes"
182 - make -j4
183 - make pythoninfo
186 # Using the built Python as patchcheck.py is built around the idea of using
187 # a checkout-build of CPython to know things like what base branch the changes
190 …- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./python Tools/scripts/patchcheck.py --travis $TRAVI…
191 # Check that all symbols exported by libpython start with "Py" or "_Py"
192 - make smelly
193 # `-r -w` implicitly provided through `make buildbottest`.
194 - |
196 XVFB_RUN=xvfb-run;
198 $XVFB_RUN make buildbottest TESTOPTS="-j4 -uall,-cpu"
204 # IRC channel whenever they fail a build. This can be removed when travis
205 # implements https://github.com/travis-ci/travis-ci/issues/1094.
206 # The actual value here is: irc.freenode.net#python-dev
207 …- secure: "s7kAkpcom2yUJ8XqyjFI0obJmhAGrn1xmoivdaPdgBIA++X47TBp1x4pgDsbEsoalef7bEwa4l07KdT4qa+DOd/…
215 …# https://python.zulipchat.com/api/v1/external/travis?api_key=<api-key-redacted>&stream=core%2Ftes…
216 …- secure: "vLz2TodSL7wQ8DsIu86koRS9i4dsK40PH8+wzY93PBCCAzJAz113LTxK3/9PamMv+ObDRUSe5OpXcquE3d5Gwpu…