-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
35 lines (27 loc) · 917 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
language: perl
sudo: required
dist: trusty
perl:
- '5.20'
addons:
postgresql: "9.4"
services:
- postgresql
before_install:
- sudo mkdir /var/log/dbod
- sudo chown travis /var/log/dbod
# For ZAPI tests
- sudo openssl aes-256-cbc -K $encrypted_8c393341f536_key -iv $encrypted_8c393341f536_iv -in resources/netapp-sdk.tar.gz.enc -out resources/netapp-sdk.tar.gz -d
- sudo tar xvzf resources/netapp-sdk.tar.gz -C /opt/
- echo "127.0.0.1 dbnasr0003" | sudo tee -a /etc/hosts
before_script:
- cpanm Config::General
- cpanm -n Devel::Cover::Report::Coveralls
- cpanm -n JSON
- cpanm -n REST::Client
- cpanm -n MIME::Base64
after_script:
- cover -test -ignore_re NaServer.pm,NaElement.pm -report coveralls
notifications:
slack:
secure: WTQ9EGOQVAbjyM3Hirh42ZyYWRP7hHSTMWXFdeNTmnoWGROYP1U+g7OXTL0BnVwILgUgll/r6yyDhtMXioIXFm7gkbpjKlc1CYEOwXW0aSmyxwZ9XA9G6IwTcivx1bLzrutPgFExW6ZlovmLfi4h37qmRcCb3SUpK3eKUSOi8d0=