-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy path.travis.yml
42 lines (36 loc) · 851 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
language: "perl"
perl:
- "5.26"
- "5.16"
# There is little reason to have travis run multiple Perls.
# - "5.14"
# - "5.12"
# - "5.10"
addons:
apt:
packages:
- libgmp-dev
- libmpfr-dev
before_install:
# - sudo apt-get install libgmp-dev
# - sudo apt-get install libmpfr-dev
- cpanm Test::Pod # optional dependency
- cpanm Math::Prime::Util::GMP
env:
-
- MPU_NO_GMP=1
- MPU_NO_XS=1 MPU_NO_GMP=1
install:
#- cpanm -v --installdeps --notest --mirror http://cpan.mirrors.travis-ci.org --mirror http://dl.ambiweb.de/mirrors/ftp.cpan.org --mirror http://cpan.cse.msu.edu .
- cpanm -v --installdeps --notest .
script: "perl Makefile.PL; make test"
# branches:
# only:
# - master
notifications:
recipients:
email:
on_success: change
on_failure: always
#env: