Skip to content

Commit

Permalink
ignore test requires docker in osx
Browse files Browse the repository at this point in the history
  • Loading branch information
giannisdoukas committed Jul 20, 2020
1 parent 9dcd53f commit 358d008
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ matrix:
osx_image: xcode9.4 # Python 3.7 running on macOS 10.13
language: shell # 'language: python' is an error on Travis CI macOS
before_install:
- export HOMEBREW_NO_AUTO_UPDATE=1
- brew install graphviz
- python3 --version
- pip3 install virtualenv
Expand All @@ -35,3 +34,6 @@ matrix:
- pip3 install -U -r requirements.txt
- pip3 install -U -r test-requirements.txt
script: coverage run --source cwlkernel --omit cwlkernel/__main__.py -m unittest discover tests
env:
- TRAVIS_IGNORE_DOCKER=true
- HOMEBREW_NO_AUTO_UPDATE=1
2 changes: 2 additions & 0 deletions tests/test_CWLKernel_magics.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,8 @@ def test_githubImport_without_id(self):
kernel.do_execute(f"""% execute {responses[-1][0][2]['text'].split("'")[1]}""")
)

@unittest.skipIf("TRAVIS_IGNORE_DOCKER" in os.environ and os.environ["TRAVIS_IGNORE_DOCKER"] == "true",
"Skipping this test on Travis CI.")
def test_githubImport_walk_paths(self):
when(requests) \
.get(
Expand Down

0 comments on commit 358d008

Please sign in to comment.