Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
80 lines (74 sloc) 3.24 KB
language: c++
# cache: ccache
matrix:
include:
- os: linux
dist: trusty
compiler: gcc
env: PYTHON_VERSION=3.4.3 OSPRAY_BUILD=OFF QT5=ON
- os: linux
dist: xenial
compiler: gcc
env: PYTHON_VERSION=3.5.6 OSPRAY_BUILD=OFF QT5=ON
- os: linux
dist: xenial
compiler: clang
env: PYTHON_VERSION=3.5.6 OSPRAY_BUILD=OFF QT5=ON
- os: linux
dist: xenial
compiler: gcc
env: PYTHON_VERSION=3.6.7 OSPRAY_BUILD=OFF QT5=ON
- os: linux
dist: bionic
compiler: gcc
env: PYTHON_VERSION=3.5.6 OSPRAY_BUILD=OFF QT5=ON
- os: osx
osx_image: xcode7.3
env: PYTHON_VERSION=3.5.6 OSPRAY_BUILD=OFF QT5=OFF
- os: osx
osx_image: xcode8.3
env: PYTHON_VERSION=3.5.6 OSPRAY_BUILD=OFF QT5=OFF
- os: osx
osx_image: xcode9.4
env: PYTHON_VERSION=3.5.6 OSPRAY_BUILD=OFF QT5=OFF
- os: osx
osx_image: xcode10.1
env: PYTHON_VERSION=3.5.6 OSPRAY_BUILD=OFF QT5=OFF
- os: osx
osx_image: xcode10.3
env: PYTHON_VERSION=3.5.6 OSPRAY_BUILD=OFF QT5=ON
- os: osx
osx_image: xcode11
env: PYTHON_VERSION=3.5.6 OSPRAY_BUILD=OFF QT5=ON
- os: osx
osx_image: xcode7.2
env: PYTHON_VERSION=3.6.7 OSPRAY_BUILD=OFF QT5=OFF
- os: osx
osx_image: xcode10.1
env: PYTHON_VERSION=3.6.7 OSPRAY_BUILD=OFF QT5=ON
- os: osx
osx_image: xcode11
env: PYTHON_VERSION=3.6.7 OSPRAY_BUILD=OFF QT5=ON
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then date -u; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then uname -a; fi
install:
- if [[ "$QT5" = "OFF" && "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install mesa-common-dev libgl1-mesa-dev mesa-utils-extra libglapi-mesa ninja-build libqt4-dev qt4-qmake libqt4-opengl-dev; fi
- if [[ "$QT5" = "ON" && "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install mesa-common-dev libgl1-mesa-dev mesa-utils-extra libglapi-mesa ninja-build qt5-qmake qtbase5-dev libqt5opengl5-dev libqt5svg5-dev; fi
- if [[ "$QT5" = "OFF" && "$TRAVIS_OS_NAME" == "osx" ]]; then travis_wait 30 scripts/getQt4Mac.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install ninja; fi
# TODO: figure out/test ccache
# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install ccache; export PATH="/usr/local/opt/ccache/libexec:$PATH"; fi
# Verify qt 5.13, maybe not upgrade
- if [[ "$QT5" = "ON" && "$TRAVIS_OS_NAME" == "osx" ]]; then brew install qt || true; fi
- if [[ "$QT5" = "ON" && "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade qt || true; fi
script:
- cd bin
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cmake -GNinja -DTRAVIS_BUILD:BOOL=ON -DUSER_PYTHON_VERSION="${PYTHON_VERSION}" -DWITH_OSPRAY:BOOL=${OSPRAY_BUILD} -DQT5_BUILD:BOOL=${QT5} -DQt5_PATH=$(brew --prefix qt) ../Superbuild; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cmake -GNinja -DTRAVIS_BUILD:BOOL=ON -DUSER_PYTHON_VERSION="${PYTHON_VERSION}" -DWITH_OSPRAY:BOOL=${OSPRAY_BUILD} -DQT5_BUILD:BOOL=${QT5} -DQt5_PATH=$(dpkg -L qtbase5-dev) ../Superbuild; fi
- travis_wait 80 ninja # max is 50 minutes on public repository
- cd SCIRun
- ./Algorithm_Layer_Test
- ./Modules_Factory_Tests --gtest_filter=*HardCodedModuleFactoryTests*
notifications:
slack: sciinstitute:lZnpQQXNd4Io5iGDPQDpJmI1
You can’t perform that action at this time.