mirror of
https://github.com/nvbn/thefuck.git
synced 2025-04-15 07:10:52 +01:00
#N/A: Test only with python3 in ci on osx
Default python version in homebrew is changed to 3.6, more details - https://brew.sh/2018/01/19/homebrew-1.5.0/
This commit is contained in:
parent
4c9099a79b
commit
82a12dda81
@ -15,10 +15,6 @@ matrix:
|
|||||||
dist: trusty
|
dist: trusty
|
||||||
python: "2.7"
|
python: "2.7"
|
||||||
- os: osx
|
- os: osx
|
||||||
env: FORMULA="python"
|
|
||||||
language: generic
|
|
||||||
- os: osx
|
|
||||||
env: FORMULA="python3"
|
|
||||||
language: generic
|
language: generic
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
@ -29,8 +25,9 @@ addons:
|
|||||||
- python3-commandnotfound
|
- python3-commandnotfound
|
||||||
before_install:
|
before_install:
|
||||||
- if [[ $TRAVIS_OS_NAME == "osx" ]]; then brew update ; fi
|
- if [[ $TRAVIS_OS_NAME == "osx" ]]; then brew update ; fi
|
||||||
- if [[ $TRAVIS_OS_NAME == "osx" ]]; then if brew ls --versions $FORMULA; then brew upgrade $FORMULA || echo Python is up to date; else brew install $FORMULA; fi; fi
|
- if [[ $TRAVIS_OS_NAME == "osx" ]]; then brew upgrade python; fi
|
||||||
- if [[ $TRAVIS_OS_NAME == "osx" ]]; then virtualenv venv -p $FORMULA; fi
|
- if [[ $TRAVIS_OS_NAME == "osx" ]]; then pip3 install virtualenv; fi
|
||||||
|
- if [[ $TRAVIS_OS_NAME == "osx" ]]; then virtualenv venv -p python3; fi
|
||||||
- if [[ $TRAVIS_OS_NAME == "osx" ]]; then source venv/bin/activate; fi
|
- if [[ $TRAVIS_OS_NAME == "osx" ]]; then source venv/bin/activate; fi
|
||||||
- pip install -U pip
|
- pip install -U pip
|
||||||
- pip install -U coveralls
|
- pip install -U coveralls
|
||||||
|
Loading…
x
Reference in New Issue
Block a user