/
.travis.yml
executable file
·58 lines (45 loc) · 979 Bytes
/
.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
language: perl
sudo: false
perl:
- "5.26"
- "5.24"
env:
- MOJO_MAIL_TEST=1 PG_PORT=5432
branches:
only:
- master
- treebank_priv
- tb_help
- multiple_ids
- fix_suggest
- recentQueries
- query_publication
- svg_caching
- ldc_login
matrix:
allow_failures:
- perl: "5.26"
before_install:
- cpanm -n Devel::Cover::Report::Coveralls
- cpanm -n Carton
install:
- carton install
before_script:
- psql -c 'create database test;' -U postgres
- pg_restore -d test -U postgres --no-acl --no-owner -w t/test_files/pdt20_mini/pdt20_mini.dump
script: "HARNESS_PERL_SWITCHES='-MDevel::Cover=+ignore,local,^t/' carton exec prove -v"
after_success:
- cover -report coveralls
notifications:
email:
recipients:
- sedlakmichal@gmail.com
on_success: change
on_failure: always
cache:
directories:
- local
before_cache:
- rm -f local/cache/modules/02packages.details.txt
addons:
postgresql: "9.6"