From ccea8a7433f1fa3bb589ceca708cf38489fe3b3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Fri, 31 Mar 2017 02:03:03 +0200 Subject: [PATCH] Make the .travis.yml file more general --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1f7e777..5731e15 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,9 +22,9 @@ install: - raco pkg install --deps search-auto -j 2 script: -- raco test -x -p extensible-parser-specifications -- raco setup --check-pkg-deps --no-zo --no-launcher --no-install --no-post-install --no-docs --pkgs extensible-parser-specifications -- raco doc-coverage extensible-parser-specifications +- raco test -x -p "$(dirname "$TRAVIS_BUILD_DIR")" +- raco setup --check-pkg-deps --no-zo --no-launcher --no-install --no-post-install --no-docs --pkgs "$(dirname "$TRAVIS_BUILD_DIR")" +- raco doc-coverage "$(dirname "$TRAVIS_BUILD_DIR")" - raco cover -s main -s test -s doc -f codecov -f html -d ~/coverage . || true # TODO: add an option to cover to run the "outer" module too, not just the submodules. # TODO: deploy the coverage info. \ No newline at end of file