From ffee8680d64afa65b809d426c409db563e53c9a4 Mon Sep 17 00:00:00 2001 From: Ole Streicher Date: Thu, 4 Jun 2020 12:45:07 +0200 Subject: [PATCH] Add Macos to travis --- .travis.yml | 48 +++++++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 23 deletions(-) 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