8000 fix: Test on Python 2.7 · getsentry/sentry-python@e1a1dd2 · GitHub
[go: up one dir, main page]

Skip to content

Commit e1a1dd2

Browse files
committed
fix: Test on Python 2.7
1 parent 1cbe5ad commit e1a1dd2

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.travis.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,14 @@ matrix:
4242
- # The OS X VM doesn't have any Python support at all
4343
# See https://github.com/travis-ci/travis-ci/issues/2312
4444
os: osx
45-
name: OS X Python 3.7
45+
name: OS X Python 2.7
4646
language: generic
4747
before_install:
48-
- brew update
49-
- brew upgrade python
50-
- python3 -m pip install --user virtualenv
51-
- /Users/travis/Library/Python/3.7/bin/virtualenv $HOME/osx-py
48+
- brew install python@2
49+
- python2 -m pip install --user virtualenv
50+
- /Users/travis/Library/Python/2.7/bin/virtualenv $HOME/osx-py
5251
- source $HOME/osx-py/bin/activate
53-
- export TRAVIS_PYTHON_VERSION=3.7
52+
- export TRAVIS_PYTHON_VERSION=2.7
5453

5554

5655
install:

0 commit comments

Comments
 (0)
0