Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
Torchaudio
Commits
38f1e870
Commit
38f1e870
authored
Dec 03, 2019
by
Mingbo Wan
Committed by
Vincent QB
Dec 03, 2019
Browse files
remove smoke test support for python2.7 (#359)
parent
2c7fdcc8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
34 deletions
+2
-34
.circleci/config.yml
.circleci/config.yml
+0
-30
.circleci/config.yml.in
.circleci/config.yml.in
+1
-1
.circleci/docker/Dockerfile
.circleci/docker/Dockerfile
+1
-3
No files found.
.circleci/config.yml
View file @
38f1e870
...
@@ -285,16 +285,6 @@ workflows:
...
@@ -285,16 +285,6 @@ workflows:
context
:
org-member
context
:
org-member
requires
:
requires
:
-
nightly_binary_linux_wheel_py2.7
-
nightly_binary_linux_wheel_py2.7
-
smoke_test_linux_pip
:
name
:
nightly_binary_linux_wheel_py2.7_smoke_test_pip
python_version
:
"
2.7"
requires
:
-
nightly_binary_linux_wheel_py2.7_upload
-
smoke_test_linux_conda
:
name
:
nightly_binary_linux_wheel_py2.7_smoke_test_conda
python_version
:
"
2.7"
requires
:
-
nightly_binary_linux_wheel_py2.7_upload
filters
:
filters
:
branches
:
branches
:
only
:
nightly
only
:
nightly
...
@@ -310,16 +300,6 @@ workflows:
...
@@ -310,16 +300,6 @@ workflows:
context
:
org-member
context
:
org-member
requires
:
requires
:
-
nightly_binary_linux_wheel_py2.7_unicode
-
nightly_binary_linux_wheel_py2.7_unicode
-
smoke_test_linux_pip
:
name
:
nightly_binary_linux_wheel_py2.7_unicode_smoke_test_pip
python_version
:
"
2.7"
requires
:
-
nightly_binary_linux_wheel_py2.7_unicode_upload
-
smoke_test_linux_conda
:
name
:
nightly_binary_linux_wheel_py2.7_unicode_smoke_test_conda
python_version
:
"
2.7"
requires
:
-
nightly_binary_linux_wheel_py2.7_unicode_upload
filters
:
filters
:
branches
:
branches
:
only
:
nightly
only
:
nightly
...
@@ -477,16 +457,6 @@ workflows:
...
@@ -477,16 +457,6 @@ workflows:
context
:
org-member
context
:
org-member
requires
:
requires
:
-
nightly_binary_linux_conda_py2.7
-
nightly_binary_linux_conda_py2.7
-
smoke_test_linux_pip
:
name
:
nightly_binary_linux_conda_py2.7_smoke_test_pip
python_version
:
"
2.7"
requires
:
-
nightly_binary_linux_conda_py2.7_upload
-
smoke_test_linux_conda
:
name
:
nightly_binary_linux_conda_py2.7_smoke_test_conda
python_version
:
"
2.7"
requires
:
-
nightly_binary_linux_conda_py2.7_upload
filters
:
filters
:
branches
:
branches
:
only
:
nightly
only
:
nightly
...
...
.circleci/config.yml.in
View file @
38f1e870
...
@@ -228,7 +228,7 @@ jobs:
...
@@ -228,7 +228,7 @@ jobs:
requires:
requires:
- {{prefix}}binary_{{os}}_{{btype}}_py{{python_version}}{{ "_unicode" if unicode }}
- {{prefix}}binary_{{os}}_{{btype}}_py{{python_version}}{{ "_unicode" if unicode }}
{%- if filter_branch == 'nightly' %}
{%- if filter_branch == 'nightly' %}
{%- if os == 'linux' %}
{%- if os == 'linux'
and not python_version.startswith("2.")
%}
- smoke_test_linux_pip:
- smoke_test_linux_pip:
name: {{prefix}}binary_{{os}}_{{btype}}_py{{python_version}}{{ "_unicode" if unicode }}_smoke_test_pip
name: {{prefix}}binary_{{os}}_{{btype}}_py{{python_version}}{{ "_unicode" if unicode }}_smoke_test_pip
python_version: "{{python_version}}"
python_version: "{{python_version}}"
...
...
.circleci/docker/Dockerfile
View file @
38f1e870
...
@@ -25,14 +25,12 @@ RUN apt-get -qq update && apt-get -qq -y install curl bzip2 sox libsox-dev libso
...
@@ -25,14 +25,12 @@ RUN apt-get -qq update && apt-get -qq -y install curl bzip2 sox libsox-dev libso
ENV
PATH /opt/conda/bin:$PATH
ENV
PATH /opt/conda/bin:$PATH
RUN
conda create
-y
--name
python2.7
python
=
2.7
RUN
conda create
-y
--name
python3.5
python
=
3.5
RUN
conda create
-y
--name
python3.5
python
=
3.5
RUN
conda create
-y
--name
python3.6
python
=
3.6
RUN
conda create
-y
--name
python3.6
python
=
3.6
RUN
conda create
-y
--name
python3.7
python
=
3.7
RUN
conda create
-y
--name
python3.7
python
=
3.7
SHELL
[ "/bin/bash", "-c" ]
SHELL
[ "/bin/bash", "-c" ]
RUN
source
/usr/local/etc/profile.d/conda.sh
&&
conda activate python2.7
&&
conda
install
-y
-c
conda-forge sox
&&
conda
install
-y
numpy future
RUN
echo
"
source /usr/local/etc/profile.d/conda.sh
"
>>
~/.bashrc
RUN
source
/usr/local/etc/profile.d/conda.sh
&&
conda activate python3.5
&&
conda
install
-y
-c
conda-forge sox
&&
conda
install
-y
numpy six
RUN
source
/usr/local/etc/profile.d/conda.sh
&&
conda activate python3.5
&&
conda
install
-y
-c
conda-forge sox
&&
conda
install
-y
numpy six
RUN
source
/usr/local/etc/profile.d/conda.sh
&&
conda activate python3.6
&&
conda
install
-y
-c
conda-forge sox
&&
conda
install
-y
numpy
RUN
source
/usr/local/etc/profile.d/conda.sh
&&
conda activate python3.6
&&
conda
install
-y
-c
conda-forge sox
&&
conda
install
-y
numpy
RUN
source
/usr/local/etc/profile.d/conda.sh
&&
conda activate python3.7
&&
conda
install
-y
-c
conda-forge sox
&&
conda
install
-y
numpy
RUN
source
/usr/local/etc/profile.d/conda.sh
&&
conda activate python3.7
&&
conda
install
-y
-c
conda-forge sox
&&
conda
install
-y
numpy
RUN
echo
"source /usr/local/etc/profile.d/conda.sh"
>>
~/.bashrc
CMD
[ "/bin/bash"]
CMD
[ "/bin/bash"]
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