1
0
mirror of https://github.com/httpie/cli.git synced 2025-05-13 22:06:33 +02:00
This commit is contained in:
Jakub Roztocil 2016-02-29 16:52:33 +08:00
parent 3b217daddc
commit 73e0455896

View File

@ -7,29 +7,46 @@ os:
env: env:
global: global:
- NEWEST_PYTHON=3.4 - NEWEST_PYTHON=3.5
python: python:
- 2.6 - 2.6
- 2.7 - 2.7
- pypy - pypy
- 3.3 - 3.5
- 3.4
- pypy3 - pypy3
matrix: matrix:
include: include:
# https://docs.travis-ci.com/user/multi-os/#Python-example-(unsupported-languages) # https://docs.travis-ci.com/user/multi-os/#Python-example-(unsupported-languages)
- os: osx - os: osx
language: generic language: generic
env:
- TOXENV=py27
- os: osx
language: generic
env:
- BREW_INSTALL=python
- TOXENV=py27
- os: osx
language: generic
env:
- BREW_INSTALL=python3
- TOXENV=py35
script: script:
- make - |
if [[ $TRAVIS_OS_NAME == 'linux' ]]; then
make
else
tox -e "$TOXENV"
fi
install: install:
- | - |
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then if [[ $TRAVIS_OS_NAME == 'osx' && -n "$BREW_INSTALL" ]]; then
brew install python brew install "$BREW_INSTALL"
fi fi
after_success: after_success: