mirror of
https://github.com/httpie/cli.git
synced 2024-11-28 08:38:44 +02:00
Travis
This commit is contained in:
parent
fee54b04d8
commit
41b0286f37
15
.travis.yml
15
.travis.yml
@ -19,23 +19,32 @@ python:
|
|||||||
matrix:
|
matrix:
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
|
||||||
|
# Manually defined OS X builds
|
||||||
# https://docs.travis-ci.com/user/multi-os/#Python-example-(unsupported-languages)
|
# https://docs.travis-ci.com/user/multi-os/#Python-example-(unsupported-languages)
|
||||||
|
|
||||||
|
# Stock OSX Python
|
||||||
- os: osx
|
- os: osx
|
||||||
language: generic
|
language: generic
|
||||||
env:
|
env:
|
||||||
- TOXENV=py27
|
- TOXENV=py27
|
||||||
|
|
||||||
|
# Latest Python 2.x from Homebrew
|
||||||
- os: osx
|
- os: osx
|
||||||
language: generic
|
language: generic
|
||||||
env:
|
env:
|
||||||
|
- TOXENV=py27
|
||||||
- BREW_INSTALL=python
|
- BREW_INSTALL=python
|
||||||
- TOXENV=py27
|
|
||||||
|
# Latest Python 3.x from Homebrew
|
||||||
- os: osx
|
- os: osx
|
||||||
language: generic
|
language: generic
|
||||||
env:
|
env:
|
||||||
- BREW_INSTALL=python3
|
|
||||||
- TOXENV=py35
|
- TOXENV=py35
|
||||||
|
- BREW_INSTALL=python3
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
- brew update
|
||||||
- |
|
- |
|
||||||
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
|
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
|
||||||
if [[ -n "$BREW_INSTALL" ]]; then
|
if [[ -n "$BREW_INSTALL" ]]; then
|
||||||
@ -49,7 +58,7 @@ script:
|
|||||||
if [[ $TRAVIS_OS_NAME == 'linux' ]]; then
|
if [[ $TRAVIS_OS_NAME == 'linux' ]]; then
|
||||||
make
|
make
|
||||||
else
|
else
|
||||||
tox -e "$TOXENV"
|
PATH="/usr/local/bin:$PATH" tox -e "$TOXENV"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
|
Loading…
Reference in New Issue
Block a user