From 979fdf58b6a5b145b3dbe0bb71342e5bbbb81971 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 18 Feb 2020 11:27:56 +0300 Subject: [PATCH] update travis config --- .travis.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) 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`