Skip to content

Commit

Permalink
add before_script
Browse files Browse the repository at this point in the history
  • Loading branch information
k-yoshimi committed Oct 29, 2018
1 parent fc9942d commit e72418b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ matrix:
before_install:
- sudo apt-get update
- sudo apt-get install -y gcc liblapack-dev cmake libfftw3-dev libgtest-dev
- "cd /usr/src/gtest && sudo cmake . && sudo cmake --build . && sudo mv libg* /usr/local/lib/ ; cd -"
- pip install numpy --user
- pip install scipy --user
- sudo apt-get install -y libopenmpi-dev openmpi-bin
Expand All @@ -14,8 +13,15 @@ matrix:
- cd build
- cmake -DTesting=ON ../
- VERBOSE=1 make

before_script:
- install -d gtest_build
- pushd gtest_build
- cmake -DCMAKE_CXX_COMPILER=clang++-3.7 /usr/src/gtest/
- make
- sudo cp *.a /usr/lib
- popd
script:
- export OMP_NUM_THREADS=1
- make test ARGS='-V'


0 comments on commit e72418b

Please sign in to comment.