Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
e5d99e76
Commit
e5d99e76
authored
Jan 15, 2017
by
Matthieu Muffato
Browse files
Also report to codecov
parent
370e61fb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
.travis.yml
.travis.yml
+3
-1
scripts/travis_run_tests.sh
scripts/travis_run_tests.sh
+2
-1
No files found.
.travis.yml
View file @
e5d99e76
...
...
@@ -21,12 +21,14 @@ before_install:
-
echo -e '#!/bin/bash\n\nperl '`which psql`' "$@"' > psql
-
chmod +x psql
-
export PATH=$PWD:$PATH
-
ln -s /usr/share/perl5/PgCommon.pm modules/
-
mkdir deps
-
ln -s /usr/share/perl5/PgCommon.pm deps/
install
:
-
cpanm -v --installdeps --notest .
-
cpanm -n Devel::Cover::Report::Coveralls
-
cpanm -n Devel::Cover::Report::Codecov
script
:
"
./scripts/travis_run_tests.sh"
...
...
scripts/travis_run_tests.sh
View file @
e5d99e76
...
...
@@ -15,7 +15,7 @@
# limitations under the License.
export
PERL5LIB
=
$PWD
/bioperl-live:
$PWD
/modules
export
PERL5LIB
=
$PWD
/bioperl-live:
$PWD
/modules
:
$PWD
/deps
# for the t/10.pipeconfig/longmult.t test
export
EHIVE_TEST_PIPELINE_URLS
=
'mysql://travis@127.0.0.1/ehive_test_pipeline_db pgsql://postgres@127.0.0.1/ehive_test_pipeline_db sqlite:///ehive_test_pipeline_db'
...
...
@@ -32,6 +32,7 @@ if [ $rt -eq 0 ]; then
if
[
"
$COVERALLS
"
=
'true'
]
;
then
echo
"Running Devel::Cover coveralls report"
cover
--nosummary
-report
coveralls
cover
--nosummary
-report
codecov
fi
exit
$?
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment