1 Star 0 Fork 117

nocode/Piplin

forked from Piplin/Piplin 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 972 Bytes
一键复制 编辑 原始数据 按行查看 历史
lianguan 提交于 2017-09-11 13:31 . Fixhub is a laravel 5.5 application now
language: php
php:
- 7.0
sudo: false
cache:
directories:
- $HOME/.composer/cache
services:
- postgresql
- redis-server
addons:
postgresql: "9.3"
before_install:
- if [[ $TRAVIS_PHP_VERSION != 7.1 ]] ; then phpenv config-rm xdebug.ini; fi
install:
- travis_retry composer install --no-interaction --prefer-dist --no-suggest
before_script:
- cp .env.example .env
- sed -i 's/APP_ENV=production/APP_ENV=local/g' .env
- sed -i 's/DB_CONNECTION=mysql/DB_CONNECTION=pgsql/g' .env
- sed -i 's/DB_USERNAME=fixhub/DB_USERNAME=postgres/g' .env
- php artisan key:generate --no-interaction
- psql -c 'create database fixhub;' -U postgres
- php artisan migrate --seed --env="testing"
- php vendor/bin/codecept build
- make file-permission
- sleep 5
- php -S 127.0.0.1:8000 -t public/ 2>&1 >/dev/null &
script:
- make cs
- php vendor/bin/codecept run
after_script:
- cat $TRAVIS_BUILD_DIR/storage/logs/*.log
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/tulufan/Piplin.git
git@gitee.com:tulufan/Piplin.git
tulufan
Piplin
Piplin
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385