update travis config

This commit is contained in:
Akolzin Dmitry 2020-02-18 11:27:56 +03:00
parent c8690e8252
commit 979fdf58b6

View File

@ -22,12 +22,17 @@ env:
- SERVER_PORT=8000 - SERVER_PORT=8000
- SERVER_URL=http://localhost - SERVER_URL=http://localhost
stages:
- test
- deploy
before_script: make before_script
script: composer test
jobs: jobs:
include: include:
- stage: test - stage: deploy
script: composer test
before_script: make before_script
- stage: GitHub Release
script: make build_archive script: make build_archive
before_deploy: before_deploy:
- export VERSION=`cat VERSION` - export VERSION=`cat VERSION`