Skip to content

Commit

Permalink
remove brew python for python3
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmdnk committed Aug 10, 2016
1 parent 45623b4 commit 886f46f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ script:
- rm -rf /usr/local/bin/pip2
- rm -rf /usr/local/bin/pip2.7
- brew install $PYTHON_VERSION
- '[ "$PYTHON_VERSION" = "python3" ] && brew rm python|| :'
- ls /usr/local/bin/python || :
- ls /usr/local/bin/pip || :
- '[ "$PYTHON_VERSION" = "python3" ] && rm -f /usr/local/bin/python && ln -s /usr/local/bin/python3 /usr/local/bin/python || :'
- '[ "$PYTHON_VERSION" = "python3" ] && rm -f /usr/local/bin/pip && ln -s /usr/local/bin/pip3 /usr/local/bin/pip || :'
- python --version
Expand Down Expand Up @@ -206,8 +209,8 @@ script:
- coverage run --parallel-mode $exe install --no_appstore -F command
# Clean up tests
- echo "brew brew-file $version" > $testfile
- echo "brew python" >> $testfile
- echo "brew python3" >> $testfile
- '[ "$PYTHON_VERSION" != "python3" ] && echo brew python >> $testfile || :'
- '[ "$PYTHON_VERSION" = "python3" ] && echo brew python3 >> $testfile || :'
- echo "file BrewfileExt" >> $testfile
- echo "brew bash" >> $testfile
- while read p;do echo "brew $p" >> $testfile;done < brewlist.orig
Expand Down

0 comments on commit 886f46f

Please sign in to comment.