Skip to content

Commit

Permalink
Enable unit tests on mac build script.
Browse files Browse the repository at this point in the history
  • Loading branch information
winder committed Jun 16, 2021
1 parent 02eacd1 commit f937799
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions scripts/travis/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@ if [ "${BUILD_TYPE}" = "integration" ]; then
make integration
elif [ "${TRAVIS_EVENT_TYPE}" = "cron" ] || [[ "${TRAVIS_BRANCH}" =~ ^rel/ ]]; then
if [[ "${OS}" != "darwin" ]]; then
make fulltest -j2
make fulltest -j2
fi
else
if [[ "${OS}" != "darwin" ]]; then
# setting it to 1 disable parallel making. This is done specicifically for travis, as travis seems to
# have memory limitations and setting this to 1 could reduce the likelihood of hitting these.
make shorttest -j1
fi
# setting it to 1 disable parallel making. This is done specicifically for travis, as travis seems to
# have memory limitations and setting this to 1 could reduce the likelihood of hitting these.
make shorttest -j1
fi

0 comments on commit f937799

Please sign in to comment.