Disable release build
This commit is contained in:
parent
c246223c82
commit
8d9b229c9e
19
.travis.yml
19
.travis.yml
|
@ -1,4 +1,4 @@
|
||||||
if: (branch = development) OR (branch = master) OR (branch = release/v2.14.0) OR (type = pull_request) OR (tag IS present)
|
if: (branch = development) OR (branch = master) OR (type = pull_request) OR (tag IS present)
|
||||||
sudo: required
|
sudo: required
|
||||||
dist: bionic
|
dist: bionic
|
||||||
language: node_js
|
language: node_js
|
||||||
|
@ -41,8 +41,7 @@ matrix:
|
||||||
- REACT_APP_SENTRY_DSN=${SENTRY_DSN_EWC}
|
- REACT_APP_SENTRY_DSN=${SENTRY_DSN_EWC}
|
||||||
- SENTRY_PROJECT=${SENTRY_PROJECT_EWC}
|
- SENTRY_PROJECT=${SENTRY_PROJECT_EWC}
|
||||||
- REACT_APP_GOOGLE_ANALYTICS=${REACT_APP_GOOGLE_ANALYTICS_ID_EWC}
|
- REACT_APP_GOOGLE_ANALYTICS=${REACT_APP_GOOGLE_ANALYTICS_ID_EWC}
|
||||||
if: ((branch = master OR branch = release/v2.14.0) AND NOT type = pull_request) OR tag IS present
|
if: (branch = master AND NOT type = pull_request) OR tag IS present
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
yarn: true
|
yarn: true
|
||||||
before_script:
|
before_script:
|
||||||
|
@ -110,20 +109,6 @@ deploy:
|
||||||
branch: release/v2.14.0
|
branch: release/v2.14.0
|
||||||
condition: $REACT_APP_NETWORK = energy_web_chain
|
condition: $REACT_APP_NETWORK = energy_web_chain
|
||||||
|
|
||||||
# Volta testing on staging
|
|
||||||
- provider: s3
|
|
||||||
bucket: $STAGING_BUCKET_NAME
|
|
||||||
access_key_id: $AWS_ACCESS_KEY_ID
|
|
||||||
secret_access_key: $AWS_SECRET_ACCESS_KEY
|
|
||||||
skip_cleanup: true
|
|
||||||
local_dir: build
|
|
||||||
upload_dir: current/app
|
|
||||||
region: $AWS_DEFAULT_REGION
|
|
||||||
on:
|
|
||||||
branch: release/v2.14.0
|
|
||||||
condition: $REACT_APP_NETWORK = volta
|
|
||||||
|
|
||||||
|
|
||||||
# Prepare production deployment
|
# Prepare production deployment
|
||||||
- provider: s3
|
- provider: s3
|
||||||
bucket: $STAGING_BUCKET_NAME
|
bucket: $STAGING_BUCKET_NAME
|
||||||
|
|
Loading…
Reference in New Issue