-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy path.travis.yml
51 lines (44 loc) · 1.56 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
# Copyright 2022 Jeffrey Kegler
# This file is part of Marpa::R2. Marpa::R2 is free software: you can
# redistribute it and/or modify it under the terms of the GNU Lesser
# General Public License as published by the Free Software Foundation,
# either version 3 of the License, or (at your option) any later version.
#
# Marpa::R2 is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser
# General Public License along with Marpa::R2. If not, see
# http://www.gnu.org/licenses/.
language: perl
perl:
- "5.26"
- "5.24"
- "5.24-shrplib" # at least one perl with threading support
- "5.10" # minimum supported version
branches:
only:
- travis
before_install:
- cpanm Config::AutoConf # optional dependency
# install prerequisites
install:
# for debugging, output available perls
- perlbrew list
# install dependencies without testing, for speed
- (cd cpan/ && cpanm --installdeps --quiet --notest .)
# build Marpa and execute tests
script:
- (cd cpan/xs/ && make) # generate necessary files
- (cd cpan/ && perl Build.PL)
- (cd cpan/ && ./Build)
- (cd cpan/ && ./Build test)
- (cd cpan/ && ./Build distmeta)
- (cd cpan/ && ./Build disttest)
- (cd cpan/ && MARPA_USE_PERL_AUTOCONF=1 ./Build disttest)
- (cd cpan/ && ./Build dist)
sudo: false # faster builds using containers
notifications:
irc: "irc.freenode.net#marpa"