@Override
  public boolean isDetected() {
    return "true".equals(system.envVariable("CI")) && "true".equals(system.envVariable("TRAVIS"));
  }
@Test
  public void isDetected() {
    setEnvVariable("CI", "true");
    setEnvVariable("TRAVIS", "true");
    assertThat(underTest.isDetected()).isTrue();

    setEnvVariable("CI", "true");
    setEnvVariable("DRONE", "true");
    setEnvVariable("TRAVIS", null);
    assertThat(underTest.isDetected()).isFalse();
  }