From 49feb300b64721eb474b95c6e11377bec793fe67 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Tue, 2 Jan 2018 09:38:28 +0100 Subject: [PATCH] further tweaking travis CI scripts --- .travis.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 517fc106..3a68ff23 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,18 +16,15 @@ install: before_script: - composer install -n - npm install -g mocha - - cd js - - npm install jsverify jsdom@9 jsdom-global@2 - - cd .. + - cd js && npm install jsverify jsdom@9 jsdom-global@2 script: - - cd tst && ../vendor/bin/phpunit - - cd ../js && mocha + - mocha + - cd ../tst && ../vendor/bin/phpunit after_script: - - cd .. - - vendor/bin/codacycoverage clover tst/log/coverage-clover.xml - - vendor/bin/test-reporter --coverage-report tst/log/coverage-clover.xml + - ../vendor/bin/codacycoverage clover log/coverage-clover.xml + - ../vendor/bin/test-reporter --coverage-report log/coverage-clover.xml cache: directories: