Skip to content

Commit

Permalink
More changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
winder committed Jun 16, 2021
1 parent f937799 commit 19490d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
8 changes: 0 additions & 8 deletions scripts/travis/after_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,10 @@
#
# Examples: scripts/travis/after_build.sh

SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
OS=$("${SCRIPTPATH}/../ostype.sh")
if [[ "${OS}" == "darwin" ]]; then
# do not run these on darwin
exit;
fi;

if [ "${TRAVIS_EVENT_TYPE}" = "cron" ] || [[ "${TRAVIS_BRANCH}" =~ ^rel/ ]]; then
if [ "${BUILD_TYPE}" != "integration" ]; then
cd "$(dirname "$0")"/../.. || exit 1
make prof
make cover
rm ./node/node.test
fi;
fi;
11 changes: 2 additions & 9 deletions scripts/travis/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

set -e

SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
OS=$("${SCRIPTPATH}/../ostype.sh")

if [ "${BUILD_TYPE}" = "integration" ]; then
# Run short tests when doing pull requests; leave the long testing for nightly runs.
if [[ "${TRAVIS_BRANCH}" =~ ^rel/nightly ]]; then
Expand All @@ -15,11 +12,7 @@ if [ "${BUILD_TYPE}" = "integration" ]; then
export SHORTTEST
make integration
elif [ "${TRAVIS_EVENT_TYPE}" = "cron" ] || [[ "${TRAVIS_BRANCH}" =~ ^rel/ ]]; then
if [[ "${OS}" != "darwin" ]]; then
make fulltest -j2
fi
make fulltest -j2
else
# 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
make shorttest -j2
fi

0 comments on commit 19490d4

Please sign in to comment.