mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
3a8d7bdf82
With this change, the test code will not be built unless `rake test` is run, so there will be almost no side effects even if `enable_test` is always set (but, gems specified by `add_test_dependency` are included in `libmruby.a`). Also added are `test: build` task, which only builds the test code (including the main code), and `test: run` task, which only runs tests independent of build. Therefore, the idiom for building in parallel and not running tests in parallel is `rake -m test:build && rake test:run`.
12 lines
130 B
YAML
12 lines
130 B
YAML
language: c
|
|
|
|
jobs:
|
|
- os: linux
|
|
- os: osx
|
|
|
|
env:
|
|
- MRUBY_CONFIG=ci/gcc-clang
|
|
|
|
script:
|
|
- rake -m test:build && rake test:run
|