Skip to content

Commit 7cdd259

Browse files
committed
[resources] Add osx dependency script
1 parent da89ca5 commit 7cdd259

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/bin/bash
2+
3+
echo Running install_osx_virtalenv.sh
4+
5+
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
6+
7+
brew update;
8+
9+
if [[ "$OSXENV" == "2.7" ]]; then
10+
brew install python;
11+
virtualenv venv -p python;
12+
source venv/bin/activate;
13+
else
14+
brew install python3;
15+
virtualenv venv -p python3;
16+
source venv/bin/activate;
17+
fi
18+
fi
19+
20+
which python

0 commit comments

Comments
 (0)