1 Star 0 Fork 0

Changkey/YOURLS

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.11 KB
一键复制 编辑 原始数据 按行查看 历史
Léo Colombaro 提交于 2017-11-28 17:10 . remove travis builds for hhvm
language: php
env:
global:
- DB=mysql
matrix:
include:
- php: 5.3
dist: precise
- php: 5.4
- php: 5.5
- php: 5.6
- php: 7.0
- php: 7.1
- php: 7.2
- php: nightly
fast_finish: true
allow_failures:
- php: nightly
- php: 7.2
before_script:
- which phpunit
- phpunit --version
- mysql --version
- git clone git://github.com/YOURLS/YOURLS-unit-tests.git tests
- |
# Use same branch in YOURLS and YOURLS-unit-tests
export CURRENT_BRANCH=${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}
echo "Current YOURLS branch: $CURRENT_BRANCH"
cd tests
if [ `git checkout $CURRENT_BRANCH &> /dev/null; echo $?` == 0 ]
then
echo "Using branch $CURRENT_BRANCH for Tests as well"
else
echo "Using branch master for Tests"
fi
cd ..
- git clone git://github.com/ozh/YOURLS-fr_FR.git user/languages/fr
- cp user/languages/fr/fr_FR.* user/languages
- mysql -e 'create database IF NOT EXISTS yourls_tests;'
- cp tests/yourls-tests-config-travis.php user/config.php
script: phpunit --configuration ./tests/phpunit-travis.xml.dist
notifications:
email: false
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/changkey/YOURLS.git
[email protected]:changkey/YOURLS.git
changkey
YOURLS
YOURLS
master

搜索帮助