Skip to content

Commit

Permalink
CI: Check man page without altering $MANPATH
Browse files Browse the repository at this point in the history
This removes unneeded addition to $MANPATH for CircleCI.
Also, wheel is built and installed with root privileges, so man
page gets placed under the proper path.

Closes coala#5321
  • Loading branch information
nikitavbv authored and gitmate-bot committed Jun 28, 2018
1 parent 2365086 commit a213178
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .ci/check_man.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ set -e

if [ $CIRCLECI ]; then
sudo apt install man
export MANPATH=$MANPATH:~/.local/man
elif [ $TRAVIS ]; then
export MANPATH=$MANPATH:$VIRTUAL_ENV/man
fi
Expand Down
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ jobs:
when: always
command: |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
pip install --user .
python setup.py bdist_wheel
sudo pip install ./dist/coala-*.whl
pip install --user coala-bears[alldeps] --pre -U
pip install --user "packaging~=16.8"
./coala --non-interactive
Expand Down

0 comments on commit a213178

Please sign in to comment.