forked from fusioninventory/fusioninventory-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
31 lines (27 loc) · 806 Bytes
/
circle.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
general:
branches:
only:
- 2.4.x
# - master
machine:
environment:
PERL5LIB: $HOME/perl5/lib/perl5
dependencies:
pre:
- curl -L https://cpanmin.us | perl - App::cpanminus
- $HOME/perl5/bin/cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
- echo $PERL5LIB
override:
- $HOME/perl5/bin/cpanm -L ~/perl5 Module::Install
- touch Makefile.PL
- $HOME/perl5/bin/cpanm -L ~/perl5 --installdeps --verbose --notest .
- $HOME/perl5/bin/cpanm -L ~/perl5 Test::Deep
- $HOME/perl5/bin/cpanm -L ~/perl5 Test::More
- $HOME/perl5/bin/cpanm -L ~/perl5 UNIVERSAL::require
- $HOME/perl5/bin/cpanm -L ~/perl5 File::Copy::Recursive
- perl Makefile.PL
- make
test:
override:
# Run the tests
- make test