travis/testament: disable JS tests on OSX

This commit is contained in:
Andreas Rumpf
2018-08-06 19:16:23 +02:00
parent 559c4b8a20
commit 6c319d4f74
2 changed files with 4 additions and 3 deletions

View File

@@ -22,7 +22,6 @@ before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install boehmgc; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install sfml; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install node@8; fi
before_script:
- set -e

View File

@@ -482,8 +482,10 @@ proc processCategory(r: var TResults, cat: Category, options: string) =
compileRodFiles(r, cat, options)
runRodFiles(r, cat, options)
of "js":
# XXX JS doesn't need to be special anymore
jsTests(r, cat, options)
# only run the JS tests on Windows or Linux because Travis is bad
# and other OSes like Haiku might lack nodejs:
when defined(linux) or defined(windows):
jsTests(r, cat, options)
of "dll":
dllTests(r, cat, options)
of "flags":