travis: Limit ninja jobs
This is needed because Ninja sees too many CPUs in Travis' container, and therefore spawns a lot of jobs which leads Travis to occasionally kill a ninja process. Limiting the jobs protects against that behavior.
This commit is contained in:
parent
7132946282
commit
09f3e9bd81
|
@ -27,9 +27,9 @@ before_script:
|
||||||
- export PATH=$PATH:$PWD/.ntmp
|
- export PATH=$PATH:$PWD/.ntmp
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then meson build && ninja -C build; fi
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then meson build && ninja -j8 -C build; fi
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ninja -C build test -v; fi
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ninja -j8 -C build test -v; fi
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then SDKROOT=$(xcodebuild -version -sdk macosx Path) meson build && ninja -C build test; fi
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then SDKROOT=$(xcodebuild -version -sdk macosx Path) meson build && ninja -j8 -C build test; fi
|
||||||
- dub build
|
- dub build
|
||||||
- dub test --build=unittest-cov
|
- dub test --build=unittest-cov
|
||||||
after_success:
|
after_success:
|
||||||
|
|
Loading…
Reference in a new issue