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:
include:
- 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:
- provider: script
@ -28,12 +29,12 @@ deploy:
skip_cleanup: true
on:
branch: develop
# - provider: script
# cleanup: false
# skip_cleanup: true
# script: "bash scripts/travis/deploy_docker.sh development"
# on:
# branch: develop
- provider: script
cleanup: false
skip_cleanup: true
script: "bash scripts/travis/deploy_docker.sh development"
on:
branch: develop
- provider: script
script: "bash scripts/travis/deploy_server.sh production"
cleanup: false
@ -46,9 +47,9 @@ deploy:
script: "bash scripts/travis/deploy_github.sh"
on:
branch: master
# - provider: script
# cleanup: false
# skip_cleanup: true
# script: "bash scripts/travis/deploy_docker.sh release"
# on:
# branch: master
- provider: script
cleanup: false
skip_cleanup: true
script: "bash scripts/travis/deploy_docker.sh release"
on:
branch: master

View File

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