1 Star 0 Fork 24

gao510551995/thinksns-plus

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.17 KB
一键复制 编辑 原始数据 按行查看 历史
overflow 提交于 2019-08-08 11:17 . test:
sudo: false
branches:
except:
- gh-pages
language: php
php:
- 7.1.3 # 必须构建最低要求版本
- 7.1
- 7.2
- 7.3
env:
# - DB=mysql
- DB=postgres
services:
# - mysql
- postgresql
cache:
directories:
- $HOME/.composer/cache
before_install:
# Check and create database.
- sh -c "if [ '$DB' = 'postgres' ]; then psql -c 'create database plus;' -U postgres; echo $DB; fi"
- sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE IF NOT EXISTS plus;'; echo $DB; fi"
- php ./scripts/travis-ci-settings.php $DB
install:
- composer install
- php artisan app:key-generate
- php artisan migrate -vvv
- php artisan db:seed -vvv
- php artisan vendor:publish --all -vvv
script: php vendor/bin/phpunit --coverage-clover=coverage.xml
after_script:
- php vendor/bin/codacycoverage clover coverage.xml
- bash <(curl -s https://codecov.io/bash)
jobs:
include:
- stage: Build
name: Build Assets Test
language: node_js
node_js: 10
cache:
directories:
- "node_modules"
services: null
env: null
before_install: null
install: npm install
script: npm run dev
after_script: null
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/lovezy/thinksns-plus.git
git@gitee.com:lovezy/thinksns-plus.git
lovezy
thinksns-plus
thinksns-plus
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385