mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
13 lines
361 B
Bash
13 lines
361 B
Bash
#!/bin/sh
|
|
|
|
# The OS X VM doesn't have any Python support at all
|
|
# See https://github.com/travis-ci/travis-ci/issues/2312
|
|
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
|
brew update
|
|
brew install python3
|
|
virtualenv -p python3 $HOME/osx-py3
|
|
. $HOME/osx-py3/bin/activate
|
|
fi
|
|
|
|
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
|
export PATH="$HOME/.cargo/bin/:$PATH"
|