File: install.sh

package info (click to toggle)
khmer 2.1.2%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 59,060 kB
  • sloc: cpp: 102,051; python: 19,654; ansic: 677; makefile: 578; sh: 171; xml: 19
file content (31 lines) | stat: -rw-r--r-- 648 bytes parent folder | download | duplicates (2)
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