forked from satijalab/seurat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
travis_setup.sh
28 lines (25 loc) · 942 Bytes
/
travis_setup.sh
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
#!/bin/bash
if [ "$TRAVIS_OS_NAME" != "osx" ]; then #
cd ..
wget "$HDF5_RELEASE_URL/hdf5-${HDF5_VERSION%.*}/hdf5-$HDF5_VERSION/src/hdf5-$HDF5_VERSION.tar.gz"
tar -xzf "hdf5-$HDF5_VERSION.tar.gz"
cd "hdf5-$HDF5_VERSION"
CFLAGS="-w" ./configure --quiet --prefix=/usr/local
sudo CFLAGS="-w" make --quiet install
cd ../seurat
fi
# # install python
# if [[ $TRAVIS_OS_NAME == "linux" ]]; then
# wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh
# elif [[ $TRAVIS_OS_NAME == "osx" ]]; then
# wget https://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-x86_64.sh -O miniconda.sh
# fi
# bash miniconda.sh -b -p $HOME/miniconda
# export PATH="$HOME/miniconda/bin:$PATH"
# export RETICULATE_PYTHON="$HOME/miniconda/bin/python"
# hash -r
# conda config --set always_yes yes --set changeps1 no
# conda update -q conda
# conda info -a
# pip install --upgrade pip
# pip install phate