IC queries the server to determine whether orgs connected via OAuth are production or not. It traditionally does this by checking whether the org type is "Developer Edition" or the org is designated as a sandbox. Trial orgs, however, are neither, nor are they production orgs. Currently they are treated as production orgs, though, and this means that, for example, the Tooling API is never used and unit tests are run when Apex source is deployed. Trial orgs should be treated as non-production orgs.
Issue #1504 resolved