[style] fix whitespace in travis_install.sh
authorJonathan L Long <jonlong@cs.berkeley.edu>
Thu, 5 Nov 2015 07:54:41 +0000 (23:54 -0800)
committerJonathan L Long <jonlong@cs.berkeley.edu>
Thu, 5 Nov 2015 07:56:16 +0000 (23:56 -0800)
scripts/travis/travis_install.sh

index 432c81d..d18dc22 100755 (executable)
@@ -61,39 +61,39 @@ rm -f $LMDB_FILE
 # than using pip for everything).
 export PATH=$CONDA_DIR/bin:$PATH
 if [ ! -d $CONDA_DIR ]; then
-       if [ "$PYTHON_VERSION" -eq "3" ]; then
-               wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
-       else
-               wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
-       fi
-       chmod +x miniconda.sh
-       ./miniconda.sh -b -p $CONDA_DIR
-       
-       conda update --yes conda
-       # The version of boost we're using for Python 3 depends on 3.4 for now.
-       if [ "$PYTHON_VERSION" -eq "3" ]; then
-               conda install --yes python=3.4
-       fi
-       conda install --yes numpy scipy matplotlib scikit-image pip
-       # Let conda install boost (so that boost_python matches)
-       conda install --yes -c https://conda.binstar.org/menpo boost=1.56.0
+  if [ "$PYTHON_VERSION" -eq "3" ]; then
+    wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
+  else
+    wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
+  fi
+  chmod +x miniconda.sh
+  ./miniconda.sh -b -p $CONDA_DIR
+
+  conda update --yes conda
+  # The version of boost we're using for Python 3 depends on 3.4 for now.
+  if [ "$PYTHON_VERSION" -eq "3" ]; then
+    conda install --yes python=3.4
+  fi
+  conda install --yes numpy scipy matplotlib scikit-image pip
+  # Let conda install boost (so that boost_python matches)
+  conda install --yes -c https://conda.binstar.org/menpo boost=1.56.0
 fi
 
 # install protobuf 3 (just use the miniconda3 directory to avoid having to setup the path again)
 if [ "$PYTHON_VERSION" -eq "3" ] && [ ! -e "$CONDA_DIR/bin/protoc" ]; then
-       pushd .
-       wget https://github.com/google/protobuf/archive/v3.0.0-alpha-3.1.tar.gz -O protobuf-3.tar.gz
-       tar -C /tmp -xzvf protobuf-3.tar.gz
-       cd /tmp/protobuf-3*/
-       ./autogen.sh
-       ./configure --prefix=$CONDA_DIR
-       $MAKE
-       $MAKE install
-       popd
+  pushd .
+  wget https://github.com/google/protobuf/archive/v3.0.0-alpha-3.1.tar.gz -O protobuf-3.tar.gz
+  tar -C /tmp -xzvf protobuf-3.tar.gz
+  cd /tmp/protobuf-3*/
+  ./autogen.sh
+  ./configure --prefix=$CONDA_DIR
+  $MAKE
+  $MAKE install
+  popd
 fi
 
 if [ "$PYTHON_VERSION" -eq "3" ]; then
-       pip install --pre protobuf
+  pip install --pre protobuf
 else
-       pip install protobuf
+  pip install protobuf
 fi