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
157c0b86
Kaydet (Commit)
157c0b86
authored
Şub 14, 2017
tarafından
Berker Peksag
Kaydeden (comit)
GitHub
Şub 14, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Only run CI checks when appropriate files have changed (#74)
Closes python/core-workflow#14
üst
22ba52b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
9 deletions
+27
-9
.travis.yml
.travis.yml
+27
-9
No files found.
.travis.yml
Dosyayı görüntüle @
157c0b86
...
...
@@ -30,8 +30,14 @@ matrix:
env
:
-
TESTING=docs
before_script
:
-
cd Doc
-
make venv PYTHON=python3
-
|
if git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '^Doc/'
then
echo "Docs weren't updated, stopping build process."
exit
fi
cd Doc
make venv PYTHON=python3
script
:
-
make html SPHINXBUILD="./venv/bin/python3 -m sphinx" SPHINXOPTS="-q"
-
python3 tools/rstlint.py -i tools -i venv
...
...
@@ -41,11 +47,17 @@ matrix:
env
:
-
TESTING=coverage
before_script
:
-
./configure
-
make -s -j4
# Need a venv that can parse covered code.
-
./python -m venv venv
-
./venv/bin/python -m pip install -U coverage
-
|
if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.(rst|yml)$)|(^Doc)/'
then
echo "Only docs were updated, stopping build process."
exit
fi
./configure
make -s -j4
# Need a venv that can parse covered code.
./python -m venv venv
./venv/bin/python -m pip install -U coverage
script
:
# Skip tests that re-run the entire test suite.
-
./venv/bin/python -m coverage run --pylib -m test -uall -x test_multiprocessing_fork -x test_multiprocessing_forkserver -x test_multiprocessing_spawn
...
...
@@ -65,8 +77,14 @@ matrix:
# Travis provides only 2 cores, so don't overdue the parallelism and waste memory.
before_script
:
-
./configure --with-pydebug
-
make -j4
-
|
if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.(rst|yml)$)|(^Doc)/'
then
echo "Only docs were updated, stopping build process."
exit
fi
./configure --with-pydebug
make -j4
script
:
# `-r -w` implicitly provided through `make buildbottest`.
...
...
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