Commit cf8c10d3 authored by Konstantinos Chatzilygeroudis's avatar Konstantinos Chatzilygeroudis
Browse files

Travis should work now

parent 41b50d3a
......@@ -35,8 +35,8 @@ addons:
- libgflags-dev
install:
- if [ "$LIBCMAES" = "ON" ]; then 'cd /usr/src/gtest && sudo mkdir build && cd build && sudo cmake .. && sudo make && sudo cp *.a /usr/lib && cd && git clone https://github.com/beniz/libcmaes.git && cd libcmaes && ./autogen.sh && ./configure && make && sudo make install && cd && cd $CI_HOME && sudo ldconfig' ; fi
- if [ "$NLOPT" = "ON"]; then 'cd && wget http://ab-initio.mit.edu/nlopt/nlopt-2.4.2.tar.gz && tar -zxvf nlopt-2.4.2.tar.gz && cd nlopt-2.4.2 && ./configure -with-cxx --enable-shared --without-python --without-matlab --without-octave && sudo make install && cd $CI_HOME && sudo ldconfig' ; fi
- if [ "$LIBCMAES" = "ON" ]; then 'ci/install_libcmaes.sh' ; fi
- if [ "$NLOPT" = "ON"]; then 'ci/install_nlopt.sh' ; fi
# Change this to your needs
......
cd /usr/src/gtest
sudo mkdir build && cd build
sudo cmake ..
sudo make
sudo cp *.a /usr/lib
cd && git clone https://github.com/beniz/libcmaes.git
cd libcmaes
./autogen.sh
./configure
make
sudo make install
sudo ldconfig
cd && cd $CI_HOME
cd && wget http://ab-initio.mit.edu/nlopt/nlopt-2.4.2.tar.gz
tar -zxvf nlopt-2.4.2.tar.gz && cd nlopt-2.4.2
./configure -with-cxx --enable-shared --without-python --without-matlab --without-octave
sudo make install
sudo ldconfig
cd $CI_HOME
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment