Skip to content

Commit

Permalink
chore(ci): Attempt to fix TravisCI OSX builds (#1897)
Browse files Browse the repository at this point in the history
The `pip` command is now `pip2`

Change-Type: patch
  • Loading branch information
lurch authored Dec 4, 2017
1 parent b1abc79 commit a709355
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/ci/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,11 @@ if [ "$ARGV_OPERATING_SYSTEM" == "linux" ]; then
-s "$(pwd)" \
-c "make info && make electron-develop"
else
PIP_COMMAND=pip
if [ "$ARGV_OPERATING_SYSTEM" == "darwin" ]; then
./scripts/build/check-dependency.sh brew
brew install ccache jq --force-bottle
PIP_COMMAND=pip2
elif [ "$ARGV_OPERATING_SYSTEM" == "win32" ]; then
./scripts/build/check-dependency.sh choco
choco install jq
Expand All @@ -63,12 +65,12 @@ else
fi

./scripts/build/check-dependency.sh npm
./scripts/build/check-dependency.sh pip
./scripts/build/check-dependency.sh "$PIP_COMMAND"
./scripts/build/check-dependency.sh make

npm config set spin=false
npm config set progress=false
pip install --quiet -r requirements.txt
"$PIP_COMMAND" install --quiet -r requirements.txt

make info
make electron-develop
Expand Down

0 comments on commit a709355

Please sign in to comment.