mirror of
https://gitee.com/openharmony/third_party_pyyaml
synced 2024-11-23 15:30:46 +00:00
Remove tox workaround for Travis CI
No longer necessary.
This commit is contained in:
parent
2ed99483f1
commit
24979fb90a
@ -19,11 +19,8 @@ matrix:
|
||||
- python: 3.6
|
||||
env: TOXENV=py36
|
||||
- python: pypy
|
||||
env: TOXENV=pypy PYPY_VERSION=5.1
|
||||
env: TOXENV=pypy
|
||||
|
||||
install:
|
||||
- ./.travis/install.sh
|
||||
install: pip install tox
|
||||
|
||||
script:
|
||||
- source ~/.venv/bin/activate
|
||||
- tox
|
||||
script: tox
|
||||
|
@ -1,17 +0,0 @@
|
||||
# temporary pyenv installation to get latest pypy until the travis
|
||||
# container infra is upgraded
|
||||
if [[ "${TOXENV}" = pypy* ]]; then
|
||||
git clone https://github.com/yyuu/pyenv.git ~/.pyenv
|
||||
PYENV_ROOT="$HOME/.pyenv"
|
||||
PATH="$PYENV_ROOT/bin:$PATH"
|
||||
eval "$(pyenv init -)"
|
||||
pyenv install "pypy-$PYPY_VERSION"
|
||||
pyenv global "pypy-$PYPY_VERSION"
|
||||
|
||||
pyenv rehash
|
||||
fi
|
||||
|
||||
pip install --upgrade virtualenv
|
||||
virtualenv ~/.venv
|
||||
source ~/.venv/bin/activate
|
||||
pip install --upgrade tox
|
Loading…
Reference in New Issue
Block a user