mirror of
https://github.com/httpie/cli.git
synced 2025-01-09 07:08:54 +01:00
force os to be linux (+1 squashed commit)
Squashed commits: [444c56d] no vars for you (+1 squashed commit) Squashed commits: [c7d1bf9] added pycodestyle environment to travis config
This commit is contained in:
parent
8f6bee9196
commit
86c8abc485
14
.travis.yml
14
.travis.yml
@ -45,6 +45,11 @@ matrix:
|
||||
- TOXENV=py35
|
||||
- BREW_INSTALL=python3
|
||||
|
||||
# Python Codestyle
|
||||
- os: linux
|
||||
python: 3.5
|
||||
env: CODESTYLE=true
|
||||
|
||||
install:
|
||||
- |
|
||||
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
|
||||
@ -54,11 +59,18 @@ install:
|
||||
fi
|
||||
sudo pip install tox
|
||||
fi
|
||||
if [[ $CODESTYLE ]]; then
|
||||
pip install pycodestyle
|
||||
fi
|
||||
|
||||
script:
|
||||
- |
|
||||
if [[ $TRAVIS_OS_NAME == 'linux' ]]; then
|
||||
make
|
||||
if [[ $CODESTYLE ]]; then
|
||||
pycodestyle --ignore=E241,E501
|
||||
else
|
||||
make
|
||||
fi
|
||||
else
|
||||
PATH="/usr/local/bin:$PATH" tox -e "$TOXENV"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user