mirror of
https://github.com/httpie/cli.git
synced 2025-01-09 23:28:27 +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
|
- TOXENV=py35
|
||||||
- BREW_INSTALL=python3
|
- BREW_INSTALL=python3
|
||||||
|
|
||||||
|
# Python Codestyle
|
||||||
|
- os: linux
|
||||||
|
python: 3.5
|
||||||
|
env: CODESTYLE=true
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- |
|
- |
|
||||||
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
|
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
|
||||||
@ -54,11 +59,18 @@ install:
|
|||||||
fi
|
fi
|
||||||
sudo pip install tox
|
sudo pip install tox
|
||||||
fi
|
fi
|
||||||
|
if [[ $CODESTYLE ]]; then
|
||||||
|
pip install pycodestyle
|
||||||
|
fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
if [[ $TRAVIS_OS_NAME == 'linux' ]]; then
|
if [[ $TRAVIS_OS_NAME == 'linux' ]]; then
|
||||||
make
|
if [[ $CODESTYLE ]]; then
|
||||||
|
pycodestyle --ignore=E241,E501
|
||||||
|
else
|
||||||
|
make
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
PATH="/usr/local/bin:$PATH" tox -e "$TOXENV"
|
PATH="/usr/local/bin:$PATH" tox -e "$TOXENV"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user