1 Star 0 Fork 15

xinjiahao/perl

forked from openKylin/perl 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 2.15 KB
一键复制 编辑 原始数据 按行查看 历史
openKylinBot 提交于 2022-05-14 02:40 . Import Upstream version 5.30.0
language: c
cache: ccache
os:
- linux
- osx
compiler:
- gcc
- clang
install:
- git fetch --unshallow --tags # t/porting/cmp_version.t
# install & enable ccache on osx
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update && brew install ccache; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PATH="/usr/local/opt/ccache/libexec:$PATH"; fi
env:
global:
- JOBS=4
matrix:
- CONFIGURE_ARGS='-Uusethreads'
- CONFIGURE_ARGS='-Dusethreads'
- CONFIGURE_ARGS='-DPERL_GLOBAL_STRUCT'
- CONFIGURE_ARGS='-DPERL_GLOBAL_STRUCT_PRIVATE'
- CONFIGURE_ARGS='-Duseshrplib -Dusesitecustomize'
- CONFIGURE_ARGS='-Duserelocatableinc'
# only use gcc on linux, and only use clang on osx for now
matrix:
exclude:
- compiler: clang
os: linux
- compiler: gcc
os: osx
script:
- ./Configure -des -Dusedevel -Uversiononly -Dcc="ccache $CC" $CONFIGURE_ARGS -Dprefix=$HOME/perl-blead -DDEBUGGING
# all script commands are always run
# rather than using one very long oneliner using '&&', just always check the build status
- if [ "x$TRAVIS_TEST_RESULT" = "x0" ]; then TEST_JOBS=$JOBS make -j$JOBS test_harness_notty; fi
- if [ "x$TRAVIS_TEST_RESULT" = "x0" ]; then make -j$JOBS install; fi
- if [ "x$TRAVIS_TEST_RESULT" = "x0" ]; then $HOME/perl-blead/bin/perlivp; fi
addons:
apt:
packages:
- file
- cpio
- libdb-dev
- libgdbm-dev
- zlib1g-dev
- libbz2-dev
notifications:
## use dedicated email for smoking ?
# email:
# recipients:
# - perl5-porters@perl.org
# on_success: never # default: change
# on_failure: always # default: always
irc:
nick: travisci
channels:
- "irc.perl.org#p5p-qa"
# - "irc.perl.org#bot-test"
template:
- "Report for %{repository} (%{commit}) from %{author} (%{elapsed_time})"
- "Status: %{message}"
- "Build URL: %{build_url}"
- "GitHub URL: https://github.com/p5h/perl5demo/commit/%{commit}" # adjust this url to use the production repo
on_success: change # default: always
on_failure: always # default: always
# use_notice: true
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/kylinos-aq-xinjiahao/perl.git
git@gitee.com:kylinos-aq-xinjiahao/perl.git
kylinos-aq-xinjiahao
perl
perl
openkylin/yangtze

搜索帮助