message: ENH: update Travis CI to compile with C++11
diff: @@ -19,27 +19,27 @@ matrix:
  include:
  - os: osx
  compiler: clang
  - env: ITK_VERSION=v4.12.0 CUDA=NONE TESTING=ON APPLICATIONS=OFF
  + env: ITK_VERSION=v4.13.0 CUDA=NONE TESTING=ON APPLICATIONS=OFF
  - os: osx
  compiler: clang
  - env: ITK_VERSION=v4.12.0 CUDA=NONE TESTING=OFF APPLICATIONS=ON
  + env: ITK_VERSION=v4.13.0 CUDA=NONE TESTING=OFF APPLICATIONS=ON
  - os: linux
  compiler: gcc
  - env: ITK_VERSION=v4.12.0 CUDA=NONE TESTING=OFF APPLICATIONS=ON
  + env: ITK_VERSION=v4.13.0 CUDA=NONE TESTING=OFF APPLICATIONS=ON
  - os: linux
  compiler: gcc
  - env: ITK_VERSION=v4.12.0 CUDA=NONE TESTING=ON APPLICATIONS=OFF
  + env: ITK_VERSION=v4.13.0 CUDA=NONE TESTING=ON APPLICATIONS=OFF
  - os: linux
  compiler: gcc
  - env: ITK_VERSION=v4.12.0 CUDA=7.5-18 TESTING=ON APPLICATIONS=OFF
  + env: ITK_VERSION=v4.13.0 CUDA=8.0.61-1 TESTING=ON APPLICATIONS=OFF
  - os: linux
  compiler: gcc
  - env: ITK_VERSION=v4.12.0 CUDA=7.5-18 TESTING=OFF APPLICATIONS=ON
  + env: ITK_VERSION=v4.13.0 CUDA=8.0.61-1 TESTING=OFF APPLICATIONS=ON
  cache:
  - directories:
  - - $HOME/itk-v4.12.0
  - - $HOME/itk-v4.12.0-build
  + - $HOME/itk-v4.13.0
  + - $HOME/itk-v4.13.0-build
  - $HOME/build/SimonRit/RTK/build/ExternalData
  - $HOME/cmake
  - timeout: 1000
  @@ -51,6 +51,7 @@ before_install:
  - if test "$CUDA" != NONE; then travis_retry sudo apt-get update -qq; fi
  - if test "$CUDA" != NONE; then export CUDA_APT=${CUDA%-*}; fi
  - if test "$CUDA" != NONE; then export CUDA_APT=${CUDA_APT/./-}; fi
  + - if test "$CUDA" != NONE; then export CUDA_APT=${CUDA_APT:0:3}; fi
  - if test "$CUDA" != NONE; then travis_retry sudo apt-get install -y cuda-drivers cuda-core-${CUDA_APT} cuda-cudart-dev-${CUDA_APT}; fi
  - if test "$CUDA" != NONE; then travis_retry sudo apt-get install -y cuda-cufft-${CUDA_APT} cuda-cufft-dev-${CUDA_APT}; fi
  - if test "$CUDA" != NONE; then travis_retry sudo apt-get install -y cuda-cublas-${CUDA_APT} cuda-cublas-dev-${CUDA_APT}; fi
  @@ -59,6 +60,7 @@ before_install:
  - if test "$CUDA" != NONE; then export PATH=${CUDA_TOOLKIT_ROOT_DIR}/bin:${PATH}; fi
  - if test $TRAVIS_OS_NAME == osx ; then HOMEBREW_NO_AUTO_UPDATE=1 brew install fftw; fi
  - export PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g")
  + - export CXXFLAGS="-fPIC -std=c++11"
  install:
  - CMAKE_VERSION=3.9.5
  