Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
cede1e19
Unverified
Kaydet (Commit)
cede1e19
authored
Tem 20, 2018
tarafından
Zachary Ware
Kaydeden (comit)
GitHub
Tem 20, 2018
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
[3.7] Enable GUI testing on Travis Linux builds via Xvfb (GH-7887)
(cherry picked from commit
b12112b5
)
üst
339e0c12
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
.travis.yml
.travis.yml
+10
-2
No files found.
.travis.yml
Dosyayı görüntüle @
cede1e19
...
...
@@ -40,6 +40,10 @@ matrix:
# 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
:
-
xvfb
-
os
:
linux
language
:
python
# Build the docs against a stable version of Python so code bugs don't hold up doc-related PRs.
...
...
@@ -56,6 +60,10 @@ matrix:
language
:
c
compiler
:
gcc
env
:
OPTIONAL=true
addons
:
apt
:
packages
:
-
xvfb
before_script
:
-
./configure
-
make -s -j4
...
...
@@ -65,7 +73,7 @@ matrix:
-
./venv/bin/python -m test.pythoninfo
script
:
# Skip tests that re-run the entire test suite.
-
./venv/bin/python -m coverage run --pylib -m test --fail-env-changed -uall,-cpu -x test_multiprocessing_fork -x test_multiprocessing_forkserver -x test_multiprocessing_spawn -x test_concurrent_futures
-
xvfb-run
./venv/bin/python -m coverage run --pylib -m test --fail-env-changed -uall,-cpu -x test_multiprocessing_fork -x test_multiprocessing_forkserver -x test_multiprocessing_spawn -x test_concurrent_futures
after_script
:
# Probably should be after_success once test suite updated to run under coverage.py.
# Make the `coverage` command available to Codecov w/ a version of Python that can parse all source files.
-
source ./venv/bin/activate
...
...
@@ -135,7 +143,7 @@ script:
# Check that all symbols exported by libpython start with "Py" or "_Py"
-
make smelly
# `-r -w` implicitly provided through `make buildbottest`.
-
make buildbottest TESTOPTS="-j4 -uall,-cpu"
-
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then XVFB_RUN=xvfb-run; fi; $XVFB_RUN
make buildbottest TESTOPTS="-j4 -uall,-cpu"
notifications
:
email
:
false
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment