代码拉取完成,页面将自动刷新
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。