fix [ci skip]

This commit is contained in:
edoapra 2023-02-27 11:35:35 -08:00
parent 359cc935d0
commit 16cebf3d85
No known key found for this signature in database
GPG key ID: 472C4EBB4F3AEDFA

View file

@ -164,10 +164,10 @@ jobs:
export TRAVIS_BUILD_DIR=`pwd`
unset USE_SIMINT
mytee=tee
dist=$(grep ID= /etc/os-release |grep -v VERSION|head -1 |cut -c4-| sed 's/\"//g')
nprocs=3
if [[ $dist == "fedora" ]]; then nprocs=2; fi
if [[ `uname -s` == "Darwin" ]]; then mytee=gtee; fi
if [[ `uname -s` == "Darwin" ]]; then mytee=gtee; dist=Darwin; fi
if test -f "/usr/lib/os-release"; then dist=$(grep ID= /etc/os-release |grep -v VERSION|head -1 |cut -c4-| sed 's/\"//g') ; fi
if [[ $dist == "fedora" ]]; then nprocs=2; else nprocs=3 ;fi
echo nprocs is $nprocs
source travis/nwchem.bashrc; cd QA && ./doqmtests.mpi $nprocs | $mytee >(ts "%d%b%Y %H:%M:%S" > ../../../../doqmtests.mpi.log.` date +%b%d%Y_%H:%M`)
shell: bash
- name: Check if QA testing has failed