代码拉取完成,页面将自动刷新
同步操作将从 Gitee 极速下载/OTRS 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
language: perl
perl:
- "5.16"
- "5.18"
- "5.20"
- "5.22"
- "5.24"
services:
- mysql
- postgresql
env:
- DB=mysql
- DB=postgresql
# Travis currently offers us 5 parallel builds, so limit to those for faster response time.
matrix:
exclude:
- perl: "5.16"
env: DB=mysql
- perl: "5.18"
env: DB=postgresql
- perl: "5.20"
env: DB=mysql
- perl: "5.22"
env: DB=postgresql
- perl: "5.24"
env: DB=mysql
# Use 12.04 platform. Docker based VMs seem slower, and trusty beta has not enough available VMs.
# See https://docs.travis-ci.com/user/ci-environment/
sudo: required
addons:
apt:
packages:
- libxml2-utils
- gettext
# Install nodejs from external source as it is outdated in 12.04
before_install:
- df -h
- curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
- sudo apt-get install -y nodejs
- npm -g install eslint
# We have to install the Perl modules via CPAN because the VMs use a perlbrew based Perl, not Ubuntu's system Perl.
install:
# generate ARCHIVE file
- perl bin/otrs.CheckSum.pl -a create
# install OTRSCodePolicy, but skip the SOPM to avoid validation errors.
- mkdir -p /tmp/OTRSCodePolicy
- git clone --depth=1 https://github.com/OTRS/otrscodepolicy.git /tmp/OTRSCodePolicy
- rm /tmp/OTRSCodePolicy/OTRSCodePolicy.sopm
- cp -rf /tmp/OTRSCodePolicy/* .
# install OTRS cpan dependencies
- cpanm --quiet --notest Code::TidyAll Perl::Tidy Perl::Critic Plack Date::Format Net::DNS Net::LDAP IO::Socket::SSL SOAP::Lite Text::CSV_XS JSON::XS XML::LibXML XML::LibXSLT YAML YAML::XS Archive::Zip Crypt::Eksblowfish Encode::HanExtra Mail::IMAPClient Template DBI DateTime
- cpanm --quiet --notest DBD::mysql || echo "Suppressing exit code $?"
- cpanm --quiet --notest DBD::Pg || echo "Suppressing exit code $?"
# configure OTRS
- scripts/tools/travis/setup.sh
# start web server
- plackup --port 5000 bin/cgi-bin/app.psgi > /tmp/plack.log 2>&1 &
script:
- perl bin/otrs.CheckModules.pl
- perl -cw bin/cgi-bin/index.pl
- perl -cw bin/cgi-bin/app.psgi
- perl bin/otrs.Console.pl Maint::Database::Check
- perl bin/otrs.Console.pl Maint::Config::Rebuild
- scripts/tools/travis/runtests.sh
notifications:
email:
recipients:
- martin.gruner@otrs.com
on_success: change
on_failure: always
irc:
channels:
- "chat.freenode.net#otrs-dev"
on_success: change
on_failure: always
webhooks:
urls:
- https://webhooks.gitter.im/e/2a09392eadbc65a19408
on_success: change
on_failure: always
on_start: never
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。