diff --git a/.travis.yml b/.travis.yml index 04cfcd7..5f86011 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,25 +1,27 @@ -os: linux +matrix: + include: + - os: linux + dist: bionic + env: IRAFARCH=linux64 + addons: + apt: + packages: + - xutils-dev + - csh + - libxt-dev + - libncurses-dev + - libxaw7-dev + - libxmu-dev + - libxpm-dev + - xaw3dg-dev + - tcl-dev + - iraf-dev + - xauth + - xvfb + - os: osx + osx_image: xcode11.4 + env: IRAFARCH=macintel -dist: bionic - -env: IRAFARCH=linux64 - -addons: - apt: - packages: - - xutils-dev - - csh - - libxt-dev - - libncurses-dev - - libxaw7-dev - - libxmu-dev - - libxpm-dev - - xaw3dg-dev - - tcl-dev - - iraf-dev - - xauth - - xvfb - language: c cache: @@ -36,5 +38,5 @@ before_script: script: - test -x xgterm/xgterm - test -x ximtool/ximtool - - test -x ximtool/clients/ism_wcspix.e - - xvfb-run xgterm/xgterm -e sleep 1 + - test "${TRAVIS_OS_NAME}" = osx -o -x ximtool/clients/ism_wcspix.e + - if [ "${TRAVIS_OS_NAME}" = linux ]; then xvfb-run xgterm/xgterm -e sleep 1; fi