mirror of
https://github.com/httpie/cli.git
synced 2025-01-05 21:29:12 +01:00
Travis
This commit is contained in:
parent
73e0455896
commit
fee54b04d8
15
.travis.yml
15
.travis.yml
@ -35,6 +35,15 @@ matrix:
|
||||
- BREW_INSTALL=python3
|
||||
- TOXENV=py35
|
||||
|
||||
install:
|
||||
- |
|
||||
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
|
||||
if [[ -n "$BREW_INSTALL" ]]; then
|
||||
brew install "$BREW_INSTALL"
|
||||
fi
|
||||
sudo pip install tox
|
||||
fi
|
||||
|
||||
script:
|
||||
- |
|
||||
if [[ $TRAVIS_OS_NAME == 'linux' ]]; then
|
||||
@ -43,12 +52,6 @@ script:
|
||||
tox -e "$TOXENV"
|
||||
fi
|
||||
|
||||
install:
|
||||
- |
|
||||
if [[ $TRAVIS_OS_NAME == 'osx' && -n "$BREW_INSTALL" ]]; then
|
||||
brew install "$BREW_INSTALL"
|
||||
fi
|
||||
|
||||
after_success:
|
||||
- |
|
||||
if [[ $TRAVIS_PYTHON_VERSION == $NEWEST_PYTHON && $TRAVIS_OS_NAME == 'linux']]; then
|
||||
|
Loading…
Reference in New Issue
Block a user