diff --git a/.travis.yml b/.travis.yml index f78fa1f..26d1a09 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,12 +22,17 @@ env: - SERVER_PORT=8000 - SERVER_URL=http://localhost +stages: + - test + - deploy + +before_script: make before_script + +script: composer test + jobs: include: - - stage: test - script: composer test - before_script: make before_script - - stage: GitHub Release + - stage: deploy script: make build_archive before_deploy: - export VERSION=`cat VERSION`