Skip to content

Commit

Permalink
finalstage- move into runstep
Browse files Browse the repository at this point in the history
  • Loading branch information
ttodua committed Apr 15, 2024
1 parent 6a5c474 commit 36373d2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
@@ -1,11 +1,9 @@
jobs:
include:
- stage: final_stage
env: RUNSTEP=finalstage
script:
- ./build.sh 2>&1
- git checkout master composer.json
- if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ]; then
- if [ "$RUNSTEP" = "finalstage" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ]; then
export SHOULD_DEPLOY=false;
DEPLOY_OUTPUT=$(env DEPLOY_CACHE=.cache/deploy SECONDS_BEFORE_NEXT_DEPLOY=43200 TRAVIS_COMMIT_MESSAGE="${TRAVIS_COMMIT_MESSAGE}" ./build/deploy.sh) && SHOULD_DEPLOY=true;
echo "----------------";
Expand Down Expand Up @@ -41,6 +39,7 @@ env:
jobs:
- RUNSTEP=PY_JS_PHP
- RUNSTEP=CSHARP
- RUNSTEP=finalstage

global:
# PYPI_TOKEN
Expand Down Expand Up @@ -80,7 +79,8 @@ before_install:
sudo apt update;
sudo apt install apt-transport-https -y;
sudo apt update -y;
else
fi
if [ "$RUNSTEP" == "CSHARP" ]; then
sudo apt-get install -y dotnet-sdk-7.0;
sudo apt-get install -y dotnet-runtime-7.0;
dotnet --version;
Expand Down

0 comments on commit 36373d2

Please sign in to comment.