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
3a2d721e
Commit
3a2d721e
authored
Nov 17, 2014
by
Matthieu Muffato
Browse files
Could work with Travis CI on the first attempt :)
parent
c30e5b2d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
0 deletions
+50
-0
.travis.yml
.travis.yml
+26
-0
cpanfile
cpanfile
+3
-0
travisci/harness.sh
travisci/harness.sh
+21
-0
No files found.
.travis.yml
0 → 100644
View file @
3a2d721e
language
:
"
perl"
perl
:
-
"
5.10"
env
:
-
COVERALLS=true DB=sqlite
before_install
:
-
sudo apt-get -y update
-
sudo apt-get -y install unzip
-
wget https://github.com/bioperl/bioperl-live/archive/bioperl-release-1-2-3.zip
-
unzip bioperl-release-1-2-3.zip
install
:
-
cpanm -v --installdeps --notest .
-
cpanm -n Devel::Cover::Report::Coveralls
-
cpanm -n DBD::SQLite
script
:
"
./travisci/harness.sh"
notifications
:
email
:
on_success
:
always
on_failure
:
always
cpanfile
0 → 100644
View file @
3a2d721e
requires 'DBI';
requires 'DBD::mysql';
travisci/harness.sh
0 → 100755
View file @
3a2d721e
#!/bin/bash
export
PERL5LIB
=
$PWD
/bioperl-live-bioperl-release-1-2-3
echo
"Running test suite"
if
[
"
$COVERALLS
"
=
'true'
]
;
then
PERL5OPT
=
'-MDevel::Cover=+ignore,bioperl,+ignore,ensembl-test'
perl
$PWD
/scripts/runtests.pl
-verbose
t
$SKIP_TESTS
else
perl
$PWD
/scripts/runtests.pl t
$SKIP_TESTS
fi
rt
=
$?
if
[
$rt
-eq
0
]
;
then
if
[
"
$COVERALLS
"
=
'true'
]
;
then
echo
"Running Devel::Cover coveralls report"
cover
--nosummary
-report
coveralls
fi
exit
$?
else
exit
$rt
fi
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