This commit is contained in:
Pig Fang 2019-03-17 13:47:42 +08:00
parent 1891cf1b6c
commit 70f5d059f0

View File

@ -1,21 +1,15 @@
language: php
php: 7.3
before_install:
install: true
script: true
before_deploy:
- nvm install 10
- node -v
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.15.2
- export PATH="$HOME/.yarn/bin:$PATH"
install:
- composer install --no-dev
- rm -rf vendor/bin
- yarn
script:
- yarn build
- cp .env.example .env
- zip -9 -r blessing-skin-server-$TRAVIS_TAG.zip app bootstrap config database plugins public resources/lang resources/views routes storage vendor .env artisan LICENSE README.md README_EN.md
- curl -sSL https://raw.githubusercontent.com/bs-community/release-script/master/release.sh | bash
deploy:
provider: releases