Tweak CI
This commit is contained in:
parent
1891cf1b6c
commit
70f5d059f0
16
.travis.yml
16
.travis.yml
|
|
@ -1,21 +1,15 @@
|
||||||
language: php
|
language: php
|
||||||
php: 7.3
|
php: 7.3
|
||||||
|
|
||||||
before_install:
|
install: true
|
||||||
|
script: true
|
||||||
|
|
||||||
|
before_deploy:
|
||||||
- nvm install 10
|
- nvm install 10
|
||||||
- node -v
|
- node -v
|
||||||
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.15.2
|
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.15.2
|
||||||
- export PATH="$HOME/.yarn/bin:$PATH"
|
- export PATH="$HOME/.yarn/bin:$PATH"
|
||||||
|
- curl -sSL https://raw.githubusercontent.com/bs-community/release-script/master/release.sh | bash
|
||||||
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
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: releases
|
provider: releases
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user