1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
# Used to prepare OSX builds
if [ "${TRAVIS_OS_NAME}" != "osx" ]; then
echo "This is not a OSX build"
exit 1
fi
brew update;
brew install astyle;
brew install enchant;
brew install cppcheck;
pushd .
cd
mkdir -p download
cd download
wget http://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh \
-O miniconda.sh
chmod +x miniconda.sh && ./miniconda.sh -b
cd ..
export PATH=/Users/travis/miniconda3/bin:$PATH
conda update --yes conda
popd
# Create a fresh environment
conda create -n testenv --yes python=2.7
source activate testenv
# Without this `make install-dependencies` fails
pip install --ignore-installed setuptools
|