Skip to content

Commit af15ec3

Browse files
authored
Merge pull request #1889 from ggouaillardet/topic/test_travis
test
2 parents 37ad6aa + af23dcc commit af15ec3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,19 @@ env:
4444
- LD_LIBRARY_PATH="$HOME/bogus/lib"
4545
matrix:
4646
- GCC_VERSION=default
47-
- GCC_VERSION=5
47+
- GCC_VERSION=6
4848

4949
# Install dependencies for the verbs and usnic providers. Open MPI is
5050
# not currently using the verbs provider in Libfabric, so we might as
5151
# well not build it.
5252
before_install:
53-
- if [[ "GCC_VERSION" == "5" ]]; then COMPILERS="CC=gcc-5 CXX=g++-5 FC=gfortran-5"; fi
53+
- if [[ "GCC_VERSION" == "6" ]]; then COMPILERS="CC=gcc-6 CXX=g++-6 FC=gfortran-6"; fi
5454
- export CONFIGURE_ARGS="--prefix=$HOME/bogus $COMPILERS" DISTCHECK_CONFIGURE_FLAGS="$CONFIGURE_ARGS"
5555
- export DISTCHECK_CONFIGURE_FLAGS="$CONFIGURE_ARGS"
5656
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then git clone https://github.com/ofiwg/libfabric.git ; fi
57-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$GCC_VERSION" == "5" ]] ; then sudo apt-get --assume-yes install gcc-5 g++-5 gfortran-5; fi
57+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$GCC_VERSION" == "6" ]] ; then sudo apt-get --assume-yes install gcc-6 g++-6 gfortran-6; fi
5858
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd libfabric && ./autogen.sh && ./configure --prefix=$HOME/bogus --enable-usnic --disable-verbs $COMPILERS && make install && cd .. ; fi
59-
- if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$GCC_VERSION" == "5" ]] ; then brew update; brew unlink gcc ; brew install gcc; fi
59+
- if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$GCC_VERSION" == "6" ]] ; then brew update; brew upgrade automake libtool gcc; fi
6060
- mkdir -p $HOME/bogus/include $HOME/bogus/lib
6161

6262
# Note that we use "make -k" to do the entire build, even if there was a
@@ -78,5 +78,5 @@ script:
7878

7979
matrix:
8080
exclude:
81-
- env: GCC_VERSION=5
81+
- env: GCC_VERSION=6
8282
compiler: clang

0 commit comments

Comments
 (0)