Commit 5b3042f3 authored by Michal Čihař's avatar Michal Čihař

Simplify script

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 3a4be990
......@@ -37,8 +37,7 @@ before_script:
# commands to run tests
script:
- timestamp.sh tests
- if [ -n "$CI_LINT" ] ; then ./ci/run-lint ; fi
- if [ -z "$CI_LINT" ] ; then ./ci/run-test ; fi
- if [ -z "$CI_LINT" ] ; then ./ci/run-test ; else ./ci/run-lint ; fi
after_script:
- timestamp.sh coveralls
- if [ -z "$CI_LINT" ] ; then coveralls ; fi
......
......@@ -28,8 +28,7 @@ before_script:
- mkdir -p shippable/codecoverage
# commands to run tests
script:
- if [ -n "$CI_LINT" ] ; then ./ci/run-lint ; fi
- if [ -z "$CI_LINT" ] ; then ./ci/run-test ; fi
- if [ -z "$CI_LINT" ] ; then ./ci/run-test ; else ./ci/run-lint ; fi
after_script:
- if [ -z "$CI_LINT" ] ; then coverage xml -o shippable/codecoverage/coverage.xml ; fi
cache: true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment