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 f530319
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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,12 +79,13 @@ 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;
dotnet --info;
fi
fi;
- type -p curl >/dev/null || ( apt update && apt install curl -y)
- curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg && sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null && sudo apt update && sudo apt install gh -y

Expand Down

0 comments on commit f530319

Please sign in to comment.