Verified Commit 30281419 authored by Luc Didry's avatar Luc Didry

Update deps

parent 72501b2a
Pipeline #80553 passed with stages
in 6 minutes and 45 seconds
......@@ -35,7 +35,7 @@ variables:
services:
- name: rroemhild/test-openldap
alias: rroemhild-test-openldap
coverage: '/Total .*(\d+\.\d+)$/'
coverage: '/Total.* (\d+\.\d+)$/'
.pg_template: &pg_definition
stage: tests
retry: 2
......@@ -104,19 +104,16 @@ carton_mysql:
sqlite1:
<<: *sqlite_definition
script:
- carton install --deployment --without=postgresql --without=mysql
- MOJO_CONFIG=t/sqlite1.conf make test
- MOJO_CONFIG=t/sqlite1.conf make cover
sqlite2:
<<: *sqlite_definition
script:
- carton install --deployment --without=postgresql --without=mysql
- MOJO_CONFIG=t/sqlite2.conf make test
- MOJO_CONFIG=t/sqlite2.conf make cover
sqlite3:
<<: *sqlite_definition
script:
- carton install --deployment --without=postgresql --without=mysql
- MOJO_CONFIG=t/sqlite3.conf make minion &
- sleep 5
- MOJO_CONFIG=t/sqlite3.conf make test
......@@ -128,19 +125,16 @@ sqlite3:
postgresql1:
<<: *pg_definition
script:
- carton install --deployment --without=sqlite --without=mysql
- MOJO_CONFIG=t/postgresql1.conf make test
- MOJO_CONFIG=t/postgresql1.conf make cover
postgresql2:
<<: *pg_definition
script:
- carton install --deployment --without=sqlite --without=mysql
- MOJO_CONFIG=t/postgresql2.conf make test
- MOJO_CONFIG=t/postgresql2.conf make cover
postgresql3:
<<: *pg_definition
script:
- carton install --deployment --without=sqlite --without=mysql
- export PGPASSWORD=lstu_pwd; echo 'CREATE DATABASE lstu_minion WITH OWNER lstu;' | psql -h postgres -U lstu lstu_db
- MOJO_CONFIG=t/postgresql3.conf make minion &
- sleep 5
......@@ -153,19 +147,16 @@ postgresql3:
mysql1:
<<: *mysql_definition
script:
- carton install --deployment --without=sqlite --without=postgresql
- MOJO_CONFIG=t/mysql1.conf make test
- MOJO_CONFIG=t/mysql1.conf make cover
mysql2:
<<: *mysql_definition
script:
- carton install --deployment --without=sqlite --without=postgresql
- MOJO_CONFIG=t/mysql2.conf make test
- MOJO_CONFIG=t/mysql2.conf make cover
mysql3:
<<: *mysql_definition
script:
- carton install --deployment --without=sqlite --without=postgresql
- echo "CREATE DATABASE lstu_minion; GRANT ALL ON lstu_minion.* TO lstu@'%'; FLUSH PRIVILEGES;" | mysql -h mariadb -u root -proot
- MOJO_CONFIG=t/mysql3.conf make minion &
- sleep 5
......
......@@ -30,12 +30,12 @@ cover:
PERL5OPT='-Ilib/' HARNESS_PERL_SWITCHES='-MDevel::Cover' $(CARTON) cover --ignore_re '^local'
test:
@PERL5OPT='-Ilib/' HARNESS_PERL_SWITCHES='-MDevel::Cover' $(CARTON) $(REAL_LSTU) test
@PERL5OPT='-Ilib/' HARNESS_PERL_SWITCHES='-MDevel::Cover' $(CARTON) prove -l -f -o
test-sqlite:
@rm -rf test1.db test1.db-journal cover_db/
@echo 'MOJO_CONFIG=t/sqlite1.conf'
@PERL5OPT='-Ilib/' HARNESS_PERL_SWITCHES='-MDevel::Cover' MOJO_CONFIG=t/sqlite1.conf $(CARTON) $(REAL_LSTU) test
@PERL5OPT='-Ilib/' HARNESS_PERL_SWITCHES='-MDevel::Cover' MOJO_CONFIG=t/sqlite1.conf $(CARTON) prove -l -f -o
@PERL5OPT='-Ilib/' HARNESS_PERL_SWITCHES='-MDevel::Cover' $(CARTON) cover --ignore_re '^local'
dev: minify
......
......@@ -49,6 +49,6 @@ feature 'mysql', 'MySQL support' => sub {
};
feature 'safebrowsing', 'Check URLs against Google safebrowsing database' => sub {
requires 'Net::Google::SafeBrowsing4';
requires 'Net::Google::SafeBrowsing4', '>= 0.8';
requires 'Term::ProgressBar::Quiet';
};
This diff is collapsed.
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