Only building release builds and trying to build the docker containers again

develop
WolverinDEV 2021-07-11 15:37:16 +02:00
parent f9de0487fe
commit 3a48284246
2 changed files with 15 additions and 14 deletions

View File

@ -19,7 +19,8 @@ stages:
jobs: jobs:
include: include:
- stage: compile - stage: compile
script: "./scripts/travis/build.sh --enable-release --enable-debug || travis_terminate 1;" # script: "./scripts/travis/build.sh --enable-release --enable-debug || travis_terminate 1;"
script: "./scripts/travis/build.sh --enable-release || travis_terminate 1;"
deploy: deploy:
- provider: script - provider: script
@ -28,12 +29,12 @@ deploy:
skip_cleanup: true skip_cleanup: true
on: on:
branch: develop branch: develop
# - provider: script - provider: script
# cleanup: false cleanup: false
# skip_cleanup: true skip_cleanup: true
# script: "bash scripts/travis/deploy_docker.sh development" script: "bash scripts/travis/deploy_docker.sh development"
# on: on:
# branch: develop branch: develop
- provider: script - provider: script
script: "bash scripts/travis/deploy_server.sh production" script: "bash scripts/travis/deploy_server.sh production"
cleanup: false cleanup: false
@ -46,9 +47,9 @@ deploy:
script: "bash scripts/travis/deploy_github.sh" script: "bash scripts/travis/deploy_github.sh"
on: on:
branch: master branch: master
# - provider: script - provider: script
# cleanup: false cleanup: false
# skip_cleanup: true skip_cleanup: true
# script: "bash scripts/travis/deploy_docker.sh release" script: "bash scripts/travis/deploy_docker.sh release"
# on: on:
# branch: master branch: master

View File

@ -87,6 +87,6 @@ upload_package() {
fi fi
} }
upload_package "development" # upload_package "development"
upload_package "release" upload_package "release"
exit 0 exit 0