-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
58 lines (57 loc) · 1.18 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
55
56
57
58
---
addons:
apt:
packages:
- aspell
- aspell-en
postgresql: 9.6
mysql: "5.7"
services:
- postgresql
- mysql
before_script:
- psql -c 'create database test;' -U postgres
- mysql -e 'create database test default character set utf8 default collate utf8_general_ci;'
language: perl
perl:
- '5.30'
- '5.28'
- '5.26'
- '5.24'
- '5.22'
- '5.20'
- '5.18'
- '5.16'
- '5.14'
cache:
directories:
- $HOME/perl5
matrix:
allow_failures:
- perl: blead
fast_finish: 1
include:
- env: COVERAGE=1
perl: '5.30'
env:
global:
- AUTHOR_TESTING=1
- COVERAGE=1
- RELEASE_TESTING=1
- TEST_POSTGRESQL=postgresql://postgres@/test
- TEST_MYSQL=mysql://root@/test
before_install:
- eval $(curl https://travis-perl.github.io/init) --auto --always-upgrade-modules
install:
- cpanm -n Mojo::Pg
- cpanm -n Mojo::mysql
- cpanm -n Mojo::DB::Role::ResultsRoles
- cpanm -n Devel::Cover
- cpanm --quiet --notest Devel::Cover::Report::Coveralls
- cpanm --quiet --notest --installdeps .
- cpanm --quiet --notest Test::Pod
### __app_cisetup__
# ---
# force_threaded_perls: 0
# perl_caching: 1
### __app_cisetup__