Skip to content

Commit 298387a

Browse files
authored
Merge pull request #3033 from masatake/circle-ci-replace-python3-on-centos6
circleci (centos6*): install the pre-build Python
2 parents 2bb81c8 + c4c9cc7 commit 298387a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

circle.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -394,10 +394,10 @@ jobs:
394394
- run:
395395
name: Install tools for building
396396
command: |
397-
yum install -y git gcc make autoconf automake pkgconfig
398-
yum install -y https://repo.ius.io/ius-release-el6.rpm
399-
yum --enablerepo=ius-archive -y install python36
400-
ln -s /usr/bin/python36 /usr/bin/python3
397+
yum install -y git gcc make autoconf automake pkgconfig xz
398+
curl -LO https://github.com/leleliu008/python-prebuild/releases/download/3.9.5/python-3.9.5-x86_64-linux-glibc.tar.xz
399+
tar xf python-3.9.5-x86_64-linux-glibc.tar.xz -C /opt
400+
echo 'export PATH=/opt/python-3.9.5-x86_64-linux-glibc/bin:$PATH' >> $BASH_ENV
401401
- run:
402402
name: Get the source code of u-ctags
403403
command: |
@@ -430,10 +430,10 @@ jobs:
430430
- run:
431431
name: Install tools for building
432432
command: |
433-
yum install -y git gcc make autoconf automake pkgconfig
434-
yum install -y https://repo.ius.io/ius-release-el6.rpm
435-
yum --enablerepo=ius-archive -y install python36
436-
ln -s /usr/bin/python36 /usr/bin/python3
433+
yum install -y git gcc make autoconf automake pkgconfig xz
434+
curl -LO https://github.com/leleliu008/python-prebuild/releases/download/3.9.5/python-3.9.5-x86_64-linux-glibc.tar.xz
435+
tar xf python-3.9.5-x86_64-linux-glibc.tar.xz -C /opt
436+
echo 'export PATH=/opt/python-3.9.5-x86_64-linux-glibc/bin:$PATH' >> $BASH_ENV
437437
- run:
438438
name: Get the source code of u-ctags
439439
command: |

0 commit comments

Comments
 (0)