Updated travis.yml(Built Armadillo from source)

This commit is contained in:
rajiv2605
2017-07-06 18:38:27 +05:30
parent c4cb484c7d
commit 4ea1634334
+3 -1
View File
@@ -5,10 +5,12 @@ language: cpp
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- sudo apt-get install -qq g++-4.8 libarmadillo-dev libarmadillo6 libboost1.54-all-dev
- export CC=gcc-4.8
- export CXX=g++-4.8
- printenv
- sudo apt-get install libopenblas-dev
- wget http://sourceforge.net/projects/arma/files/armadillo-7.950.1.tar.xz && tar xf armadillo-7.950.1.tar.xz
- cd armadillo-7.950.1.tar.xz && cmake . && make && sudo make install
- sudo cp .travis/config.hpp /usr/include/armadillo_bits/config.hpp
install:
- mkdir build && cd build && cmake -DDEBUG=OFF -DPROFILE=OFF .. && make -j2