-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
54 lines (45 loc) · 2.92 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
language: perl
os:
- linux
# - osx
# services:
# - docker
arch:
- amd64
- ppc64le
- s390x
# - arm64 # Gets 404 error
perl:
- "5.30"
- "5.28" # Travis gets 404 errors trying to find some older perls
- "5.26"
- "5.24"
# - "5.22"
# - "5.20"
# - "5.18"
# - "5.16"
# - "5.14"
# - "5.12"
# - "5.10"
# - "5.8"
# - "5.8.7"
sudo: false
before_install:
# Needed for Locale::Object
- cpanm --installdeps --quiet --notest DBD::SQLite
- cpanm --notest --quiet DBD::SQLite Locale::Object::Country Gzip::Faster
# - sudo apt-get update -q
# - sudo apt-get install -y libdb-dev libyaml-syck-perl libchi-perl libconfig-auto-perl libnet-oauth-perl
install:
# - sudo apt-get install -y liblog-log4perl-perl libtemplate-perl liburi-perl libio-aio-perl
- cpanm --skip-satisfied -qin Gedcom Moo~2.002004 Genealogy::Gedcom::Date Date::Parse Getopt::Std Geo::Coder::OSM Term::ANSIColor Lingua::EN::NameParse Lingua::EN::NameCase Lingua::EN::Numbers::Ordinate Tie::Static DateTime::Format::Natural HTML::Entities B::Lint HTTP::Cache::Transparent Image::Info URI::Find::Schemeless LWP::Simple::WithCache LWP::UserAgent::Throttled HTML::GoogleMaps::V3 Sort::Key::DateTime String::ProgressBar Text::Names::GB IPC::System::Simple autodie Lingua::EN::ABC warnings::unused File::Copy Geo::Coder::GooglePlaces Geo::Coder::List Config::Auto Lingua::EN::Inflect Geo::Coder::CA DBD::SQLite Locale::Object::Country FCGI Log::Log4perl CGI::Carp CGI::Info CGI::Lingua FCGI::Buffer File::HomeDir Log::WarnDie Template::Plugin::EnvHash CHI HTML::SocialMedia Statistics::LineFit File::pfopen Statistics::Lite Geo::Coder::XYZ URI~1.73 Geo::StreetAddress::US Locale::US Log::Any::Adapter::Log4perl Text::CSV::Slurp Gzip::Faster Geo::Coder::Postcodes List::Util File::Fetch~0.56 Geo::Coder::Free Geo::Coder::US::Census Geo::Coder::Ovi Geo::Coder::RandMcnally Geo::Parser::Text Log::Dispatch::File YAML::Any Mo Geo::Coder::Bing Geo::GeoNames POSIX HTML::TagCloud YAML::XS Text::xSV::Slurp DateTime::Format::Genealogy File::Print::Many GIS::Distance Geo::Coder::DataScienceToolkit Taint::Runtime Net::OAuth String::Compare IO::AIO XML::Dumper XML::Twig Class::Simple Geo::Coder::OpenCage Class::Simple::Cached Class::Simple::Readonly::Cached Unicode::Diacritic::Strip Locale::AU Date::Manip Roman Lingua::String Lingua::Conjunction Array::Iterator
- cpanm -q -n F/FR/FRIFFIN/Geo-Coder-PlaceFinder-0.1.tar.gz
script:
- perl -c -MO=Lint ./ged2site
- perl -c -Mwarnings::unused ./ged2site
- cd dynamic-site/cgi-bin && perl -c -MO=Lint ./page.fcgi '' && perl -c -Mwarnings::unused ./page.fcgi ''
- rootdir=$(pwd)/../.. perl page.fcgi page=reports
- rootdir=$(pwd)/../.. perl page.fcgi page=surnames surname='Stock%20or%20(1,2\)=(select*from(select%20name_const(CHAR(111,108,111,108,111,115,104,101,114\),1\),name_const(CHAR( <-- HERE 111,108,111,108,111,115,104,101,114\),1\)\)a\)%20--%20and%201%3D1'
after_failure:
- cat /home/travis/.cpanm/work/*/build.log