Skip to content

Commit

Permalink
Travis CI environment variables still elude test skipping.
Browse files Browse the repository at this point in the history
  • Loading branch information
hbldh committed Apr 27, 2018
1 parent c427271 commit 3dc0313
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@


@pytest.mark.skipif(
condition=bool(os.environ.get('CI', False)) and (
bool(os.environ.get('TRAVIS', False))
or bool(os.environ.get('APPVEYOR', False))
condition=bool(os.environ.get('CI', "false").lower() == "true") and (
bool(os.environ.get('TRAVIS', "false").lower() == "true")
or bool(os.environ.get('APPVEYOR', "false").lower() == "true")
),
reason="Cannot run on Travis CI (has BlueZ 4.101 <= 5.43) or on Appveyor (runs Windows < 10)."
)
Expand Down

0 comments on commit 3dc0313

Please sign in to comment.