Commit 38f1e870 authored by Mingbo Wan's avatar Mingbo Wan Committed by Vincent QB
Browse files

remove smoke test support for python2.7 (#359)

parent 2c7fdcc8
...@@ -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
......
...@@ -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}}"
......
...@@ -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"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment