-
Notifications
You must be signed in to change notification settings - Fork 18
/
.travis.yml
49 lines (48 loc) · 1.43 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
dist: xenial
sudo: required
language: cpp
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
- CMAKE_URL="http://www.cmake.org/files/v3.5/cmake-3.5.2-Linux-x86_64.tar.gz"
- mkdir cmake && travis_retry wget --no-check-certificate --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake
- sudo apt-get install -y libvtk5-dev libvtk5.10
- sudo apt-get install -qq gcc-5 g++-5
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 90
- sudo apt-get install -y openmpi-bin libopenmpi-dev
- sudo apt-get install -y libmetis-dev
- sudo apt-get install -y libparmetis-dev
- hg clone https://bitbucket.org/eigen/eigen/ hg.eigen
- pushd hg.eigen/
- mkdir build
- pushd build
- ${TRAVIS_BUILD_DIR}/cmake/bin/cmake ../
- sudo make install
- popd
- popd
- git clone https://github.com/LoicMarechal/libMeshb.git git.libmeshb
- pushd git.libmeshb
- git reset --hard 86789547c052aeaa3ea012dec1af0924e7006a96
- mkdir build
- pushd build
- ${TRAVIS_BUILD_DIR}/cmake/bin/cmake ../
- make
- sudo make install
- popd
- popd
compiler:
- gcc
# Change this to your needs
env:
- ENABLE_VTK=FALSE CMAKE_BUILD_TYPE=Release OMPI_MCA_btl_base_warn_component_unused=0
- CMAKE_BUILD_TYPE=Release OMPI_MCA_btl_base_warn_component_unused=0
script:
- mkdir build
- cd build
- cmake ..
- g++ -v
- make
- cd tests/
- make
- make test ARGS="-v"