mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Merge pull request #17206 from dundargoc/ci/remove-python2
This commit is contained in:
commit
6fd1b12de1
@ -18,12 +18,12 @@ if ! [ -f "$codecov_sh" ]; then
|
|||||||
curl --retry 5 --silent --fail -o "$codecov_sh" https://codecov.io/bash
|
curl --retry 5 --silent --fail -o "$codecov_sh" https://codecov.io/bash
|
||||||
chmod +x "$codecov_sh"
|
chmod +x "$codecov_sh"
|
||||||
|
|
||||||
python3 -m pip install --quiet --user gcovr
|
python -m pip install --quiet --user gcovr
|
||||||
fi
|
fi
|
||||||
|
|
||||||
(
|
(
|
||||||
cd build
|
cd build
|
||||||
python3 -m gcovr --branches --exclude-unreachable-branches --print-summary -j 2 --exclude '.*/auto/.*' --root .. --delete -o ../coverage.xml --xml
|
python -m gcovr --branches --exclude-unreachable-branches --print-summary -j 2 --exclude '.*/auto/.*' --root .. --delete -o ../coverage.xml --xml
|
||||||
)
|
)
|
||||||
|
|
||||||
# Upload to codecov.
|
# Upload to codecov.
|
||||||
|
@ -4,12 +4,8 @@ set -e
|
|||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
# Use default CC to avoid compilation problems when installing Python modules.
|
# Use default CC to avoid compilation problems when installing Python modules.
|
||||||
echo "Install neovim module for Python 3."
|
echo "Install neovim module for Python."
|
||||||
CC=cc python3 -m pip -q install --user --upgrade pynvim
|
CC=cc python -m pip -q install --user --upgrade pynvim
|
||||||
if python2 -m pip -c True 2>&1; then
|
|
||||||
echo "Install neovim module for Python 2."
|
|
||||||
CC=cc python2 -m pip -q install --user --upgrade pynvim
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Install neovim RubyGem."
|
echo "Install neovim RubyGem."
|
||||||
gem install --no-document --bindir "$HOME/.local/bin" --user-install --pre neovim
|
gem install --no-document --bindir "$HOME/.local/bin" --user-install --pre neovim
|
||||||
|
Loading…
Reference in New Issue
Block a user