Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
docker-py
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
docker-py
Commits
0acef5f6
Kaydet (Commit)
0acef5f6
authored
Ock 19, 2018
tarafından
Joffrey F
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add Python 3.6 testing
Signed-off-by:
Joffrey F
<
joffrey@docker.com
>
üst
a28b9ffd
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
36 additions
and
23 deletions
+36
-23
.travis.yml
.travis.yml
+13
-10
Dockerfile-py3
Dockerfile-py3
+1
-1
Jenkinsfile
Jenkinsfile
+1
-1
Makefile
Makefile
+17
-7
appveyor.yml
appveyor.yml
+1
-1
setup.py
setup.py
+1
-0
tox.ini
tox.ini
+1
-1
win32-requirements.txt
win32-requirements.txt
+1
-2
No files found.
.travis.yml
Dosyayı görüntüle @
0acef5f6
sudo
:
false
language
:
python
python
:
-
"
3.5"
env
:
-
TOX_ENV=py27
# FIXME: default travis worker does not carry py33 anymore. Can this be configured?
# - TOX_ENV=py33
-
TOX_ENV=py34
-
TOX_ENV=py35
-
TOX_ENV=flake8
matrix
:
include
:
-
python
:
2.7
env
:
TOXENV=py27
-
python
:
3.4
env
:
TOXENV=py34
-
python
:
3.5
env
:
TOXENV=py35
-
python
:
3.6
env
:
TOXENV=py36
-
env
:
TOXENV=flake8
install
:
-
pip install tox
script
:
-
tox
-e $TOX_ENV
-
tox
Dockerfile-py3
Dosyayı görüntüle @
0acef5f6
FROM python:3.
5
FROM python:3.
6
RUN mkdir /src
WORKDIR /src
...
...
Jenkinsfile
Dosyayı görüntüle @
0acef5f6
...
...
@@ -27,7 +27,7 @@ def buildImages = { ->
imageNamePy3
=
"${imageNameBase}:py3-${gitCommit()}"
buildImage
(
imageNamePy2
,
"."
,
"py2.7"
)
buildImage
(
imageNamePy3
,
"-f Dockerfile-py3 ."
,
"py3.
5
"
)
buildImage
(
imageNamePy3
,
"-f Dockerfile-py3 ."
,
"py3.
6
"
)
}
}
}
...
...
Makefile
Dosyayı görüntüle @
0acef5f6
...
...
@@ -3,7 +3,7 @@ all: test
.PHONY
:
clean
clean
:
-
docker
rm
-
vf
dpy-dind
-
docker
rm
-
f
dpy-dind-py2 dpy-dind-py3
find
-name
"__pycache__"
| xargs
rm
-rf
.PHONY
:
build
...
...
@@ -45,15 +45,25 @@ TEST_API_VERSION ?= 1.33
TEST_ENGINE_VERSION
?=
17.10.0-ce
.PHONY
:
integration-dind
integration-dind
:
build build-py3
docker
rm
-vf
dpy-dind
||
:
docker run
-d
--name
dpy-dind
--privileged
dockerswarm/dind:
${
TEST_ENGINE_VERSION
}
dockerd
\
integration-dind
:
integration-dind-py2 integration-dind-py3
.PHONY
:
integration-dind-py2
integration-dind-py2
:
build
docker
rm
-vf
dpy-dind-py2
||
:
docker run
-d
--name
dpy-dind-py2
--privileged
dockerswarm/dind:
${
TEST_ENGINE_VERSION
}
dockerd
\
-H
tcp://0.0.0.0:2375
--experimental
docker run
-t
--rm
--env
=
"DOCKER_HOST=tcp://docker:2375"
--env
=
"DOCKER_TEST_API_VERSION=
${
TEST_API_VERSION
}
"
\
--link
=
dpy-dind:docker docker-sdk-python py.test tests/integration
--link
=
dpy-dind-py2:docker docker-sdk-python py.test tests/integration
docker
rm
-vf
dpy-dind-py3
.PHONY
:
integration-dind-py3
integration-dind-py3
:
build-py3
docker
rm
-vf
dpy-dind-py3
||
:
docker run
-d
--name
dpy-dind-py3
--privileged
dockerswarm/dind:
${
TEST_ENGINE_VERSION
}
dockerd
\
-H
tcp://0.0.0.0:2375
--experimental
docker run
-t
--rm
--env
=
"DOCKER_HOST=tcp://docker:2375"
--env
=
"DOCKER_TEST_API_VERSION=
${
TEST_API_VERSION
}
"
\
--link
=
dpy-dind:docker docker-sdk-python3 py.test tests/integration
docker
rm
-vf
dpy-dind
--link
=
dpy-dind
-py3
:docker docker-sdk-python3 py.test tests/integration
docker
rm
-vf
dpy-dind
-py3
.PHONY
:
integration-dind-ssl
integration-dind-ssl
:
build-dind-certs build build-py3
...
...
appveyor.yml
Dosyayı görüntüle @
0acef5f6
...
...
@@ -3,7 +3,7 @@ version: '{branch}-{build}'
install
:
-
"
SET
PATH=C:
\\
Python27-x64;C:
\\
Python27-x64
\\
Scripts;%PATH%"
-
"
python
--version"
-
"
pip
install
tox==2.
7.0
virtualenv==15.1.0
"
-
"
pip
install
tox==2.
9.1
"
# Build the binary after tests
build
:
false
...
...
setup.py
Dosyayı görüntüle @
0acef5f6
...
...
@@ -87,6 +87,7 @@ setup(
'Programming Language :: Python :: 3.3'
,
'Programming Language :: Python :: 3.4'
,
'Programming Language :: Python :: 3.5'
,
'Programming Language :: Python :: 3.6'
,
'Topic :: Utilities'
,
'License :: OSI Approved :: Apache Software License'
,
],
...
...
tox.ini
Dosyayı görüntüle @
0acef5f6
[tox]
envlist
=
py27, py33, py34, py35, flake8
envlist
=
py27, py33, py34, py35,
py36,
flake8
skipsdist
=
True
[testenv]
...
...
win32-requirements.txt
Dosyayı görüntüle @
0acef5f6
-r requirements.txt
pypiwin32
==219
\ No newline at end of file
pypiwin32
>=219
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