Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
880a7e4d
Commit
880a7e4d
authored
Aug 02, 2016
by
Dean Moldovan
Browse files
Use system version of Python 2.7 on OS X on Travis
parent
3ac12752
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
.travis.yml
.travis.yml
+6
-2
No files found.
.travis.yml
View file @
880a7e4d
...
@@ -36,8 +36,12 @@ install:
...
@@ -36,8 +36,12 @@ install:
pip install --user --upgrade pip virtualenv
pip install --user --upgrade pip virtualenv
virtualenv -p python$PYTHON venv
virtualenv -p python$PYTHON venv
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
if [ "${PYTHON:0:1}" = "3" ]; then PMAJOR=3; fi
if [ "${PYTHON:0:1}" = "3" ]; then
brew update; brew install python$PMAJOR;
PMAJOR=3; brew update; brew install python$PMAJOR;
else
curl -fsSL -O https://bootstrap.pypa.io/get-pip.py
sudo -H python get-pip.py
fi
pip$PMAJOR install --user --upgrade pip virtualenv
pip$PMAJOR install --user --upgrade pip virtualenv
python$PMAJOR -m virtualenv venv
python$PMAJOR -m virtualenv venv
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment