Runtime detection of inlining

Is there a way to find out of inlining is enabled at runtime (ie. was julia launched with --inline=no)? I want to test that a certain operation is non-allocating, but it doesn’t pass Travis tests because they run with inlining disabled (on version 0.4).

Base.JLOptions().can_inline