From 6d1cfa4d0cc52908bd2128d8dd56129682207e78 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 18 Feb 2020 11:38:11 +0300 Subject: [PATCH] update travis config --- .travis.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 26d1a09..61d284a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,6 @@ php: env: global: - - ROBO_CONFIG=$(TRAVIS_BUILD_DIR)/tests/robo.yml - OC_DB_HOSTNAME=localhost - OC_DB_USERNAME=root - OC_DB_PASSWORD=root @@ -26,21 +25,21 @@ stages: - test - deploy -before_script: make before_script - -script: composer test - jobs: include: + - stage: test + before_script: make before_script + script: composer test - stage: deploy script: make build_archive before_deploy: - export VERSION=`cat VERSION` - - export ARCHIVE_NAME='/tmp/retailcrm-'$(VERSION)'.zip' + - export ARCHIVE_NAME=/tmp/retailcrm-$VERSION.zip deploy: provider: releases api_key: $GITHUB_OAUTH_TOKEN skip_cleanup: true file: $ARCHIVE_NAME + php: 7.1 on: branch: master \ No newline at end of file