From a6ab8055b1a3c6b3f9f3bfd6d9d2fb196dcafc47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Kundr=C3=A1t?= Date: Thu, 4 Jul 2019 00:27:10 +0200 Subject: [PATCH] CI: do not attempt to `cd` twice I misunderstood how Travis CI works; it's not a subshell, it's something which affects the other commands. Let's just run everything from the top-level directory. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3504c4a8..d64d30a9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ install: script: - pytest --cov-report=xml --cov=gnpy - rstcheck --ignore-roles cite --ignore-directives automodule --recursive --ignore-messages '(Duplicate explicit target name.*)' . - - cd examples; ./transmission_main_example.py - - cd examples; ./path_requests_run.py + - ./examples/transmission_main_example.py + - ./examples/path_requests_run.py after_success: - bash <(curl -s https://codecov.io/bash)