File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed
Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,24 @@ matrix:
6868 - vim-common
6969 env :
7070 - MATRIX_EVAL="CC=gcc-8;CXX=g++-8"
71+ - os : linux
72+ dist : trusty
73+ sudo : false
74+ addons :
75+ apt :
76+ sources :
77+ - ubuntu-toolchain-r-test
78+ packages :
79+ - cmake
80+ - ninja-build
81+ - gcc-8
82+ - g++-8
83+ - zlib1g-dev
84+ - libbz2-dev
85+ - vim-common
86+ - libopenmpi-dev
87+ env :
88+ - MATRIX_EVAL="CC=gcc-8;CXX=g++-8;MPI=1"
7189 - os : osx
7290 osx_image : xcode10.1
7391 addons :
@@ -86,7 +104,8 @@ before_install:
86104 - eval "${MATRIX_EVAL}"
87105
88106script :
89- - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then mkdir build; cd build; cmake -G Ninja -DHAVE_SSE4_1=1 ..; ninja || exit 1; cd ..; fi
107+ - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ -n "$MPI" ]]; then mkdir build; cd build; cmake -G Ninja -DHAVE_MPI=1 -DHAVE_SSE4_1=1 .. || exit 1; ninja || exit 1; cd ..; fi
108+ - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ -z "$MPI" ]]; then mkdir build; cd build; cmake -G Ninja -DHAVE_MPI=0 -DHAVE_SSE4_1=1 .. || exit 1; ninja || exit 1; cd ..; fi
90109 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./util/build_osx.sh . build || exit 1; fi
91110
92111after_success :
You can’t perform that action at this time.
0 commit comments