- sudo apt-get update -qq
- sudo apt-get install libcdb-dev libdb-file-lock-perl libcrypt-pbkdf2-perl libdbd-sqlite3-perl libdbi-perl libgetopt-long-descriptive-perl libipc-run-perl libjson-perl libkrb5-dev libperl6-slurp-perl libreadonly-perl libsqlite3-dev libtest-minimumversion-perl libtest-perl-critic-perl libtest-pod-perl libtest-strict-perl pkg-config sqlite tinycdb
env: AUTHOR_TESTING=1
-script: ./bootstrap && ./configure && make warnings && perltidy -pro=tests/data/perltidyrc tests/tools/heimdal-strength-t && diff -u tests/tools/heimdal-strength-t.tdy tests/tools/heimdal-strength-t && tests/runtests -v -o perl/critic && make check
+script: ./bootstrap && ./configure && make warnings && perltidy -pro=tests/data/perltidyrc tests/tools/heimdal-strength-t && diff -u tests/tools/heimdal-strength-t tests/tools/heimdal-strength-t.tdy && tests/runtests -v -o perl/critic && make check
branches:
only:
# Install the krb5.conf file with a configuration pointing to the test
# CrackLib dictionary.
my $datadir = $ENV{BUILD} ? "$ENV{BUILD}/data" : 'tests/data';
-my $krb5_conf = create_krb5_conf(
- {
- password_dictionary => "$datadir/dictionary",
- }
-);
+my $krb5_conf
+ = create_krb5_conf({ password_dictionary => "$datadir/dictionary" });
local $ENV{KRB5_CONFIG} = $krb5_conf;
# Run the CrackLib password tests and based-on-principal tests from JSON.
# Install the krb5.conf file with configuration pointing to the SQLite
# dictionary.
my $sqlite_database = test_file_path('data/wordlist.sqlite');
-$krb5_conf = create_krb5_conf(
- {
- password_dictionary_sqlite => $sqlite_database,
- }
-);
+$krb5_conf
+ = create_krb5_conf({ password_dictionary_sqlite => $sqlite_database });
local $ENV{KRB5_CONFIG} = $krb5_conf;
# Check whether we were built with SQLite support. If so, run those tests.