update .travis.yml

This commit is contained in:
CismonX 2019-09-23 23:08:53 +08:00
parent 71b8b306ce
commit 14a5d8cfaa
1 changed files with 1 additions and 3 deletions

View File

@ -14,14 +14,12 @@ env:
- ARMA_SRC="http://sourceforge.net/projects/arma/files/armadillo-${ARMA_VERSION}.tar.xz"
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- wget $ARMA_SRC -O arma_src.tar.xz
- tar -Jxvf arma_src.tar.xz
install:
- sudo apt-get install -qq g++-7 cmake
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 90
- sudo apt-get install -qq build-essential cmake
- sudo apt-get install -qq libopenblas-dev liblapack-dev libarpack2-dev
- sudo apt-get install -qq libsuperlu-dev libhdf5-dev
- pushd armadillo-${ARMA_VERSION} && cmake . && make && sudo make install && popd