-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path.travis.yml
38 lines (24 loc) · 974 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
language: perl
perl:
- "5.20"
- "5.18"
# - "5.16"
# - "5.14"
before_install:
# prevent "plelase tell me who you are errors for certain DZIL configs
- git config --global user.name "Travis CI"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
- "wget http://selenium-release.storage.googleapis.com/2.44/selenium-server-standalone-2.44.0.jar"
- "java -jar selenium-server-standalone-2.44.0.jar > /dev/null &"
- sleep 5
install:
# Deal with all the DZIL dependencies, quickly and quietly
- cpanm --quiet --notest --skip-satisfied Dist::Zilla
- cpanm --quiet --notest --skip-satisfied Pod::Markdown
- dzil authordeps | grep -vP '[^\w:]' | xargs -n 5 -P 10 cpanm --quiet --notest --skip-satisfied
- export RELEASE_TESTING=1 AUTOMATED_TESTING=1 AUTHOR_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1
- dzil listdeps | grep -vP '[^\w:]' | cpanm --verbose
script:
- dzil test