mirror of
https://github.com/trezor/trezor-wallet
synced 2025-03-27 05:25:43 +00:00
try to fix gyp in CI 3
This commit is contained in:
parent
677c17b511
commit
ca1957d1c8
@ -3,6 +3,10 @@ image: node:10.15.1
|
|||||||
variables:
|
variables:
|
||||||
CYPRESS_CACHE_FOLDER: "$CI_PROJECT_DIR/cache/Cypress"
|
CYPRESS_CACHE_FOLDER: "$CI_PROJECT_DIR/cache/Cypress"
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- "apt-get update"
|
||||||
|
- "apt-get install -y build-essential"
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
key: ${CI_COMMIT_REF_SLUG}
|
key: ${CI_COMMIT_REF_SLUG}
|
||||||
paths:
|
paths:
|
||||||
@ -95,7 +99,6 @@ deploy review:
|
|||||||
name: $CI_BUILD_REF_NAME
|
name: $CI_BUILD_REF_NAME
|
||||||
url: $BASE_REVIEW_URL/$CI_BUILD_REF_NAME
|
url: $BASE_REVIEW_URL/$CI_BUILD_REF_NAME
|
||||||
on_stop: delete review
|
on_stop: delete review
|
||||||
before_script: []
|
|
||||||
script:
|
script:
|
||||||
- echo "Deploy a review app"
|
- echo "Deploy a review app"
|
||||||
- '[ -z "${DEPLOY_BASE_DIR}" ] && echo "Deploy base dir cannot be empty" && exit 255'
|
- '[ -z "${DEPLOY_BASE_DIR}" ] && echo "Deploy base dir cannot be empty" && exit 255'
|
||||||
@ -119,7 +122,6 @@ deploy stage beta:
|
|||||||
when: manual
|
when: manual
|
||||||
dependencies:
|
dependencies:
|
||||||
- build beta
|
- build beta
|
||||||
before_script: []
|
|
||||||
script:
|
script:
|
||||||
- scripts/s3sync.sh stage beta
|
- scripts/s3sync.sh stage beta
|
||||||
only:
|
only:
|
||||||
@ -136,7 +138,6 @@ deploy stage stable:
|
|||||||
when: manual
|
when: manual
|
||||||
dependencies:
|
dependencies:
|
||||||
- build stable
|
- build stable
|
||||||
before_script: []
|
|
||||||
script:
|
script:
|
||||||
- scripts/s3sync.sh stage stable
|
- scripts/s3sync.sh stage stable
|
||||||
only:
|
only:
|
||||||
@ -153,7 +154,6 @@ delete review:
|
|||||||
environment:
|
environment:
|
||||||
name: $CI_BUILD_REF_NAME
|
name: $CI_BUILD_REF_NAME
|
||||||
action: stop
|
action: stop
|
||||||
before_script: []
|
|
||||||
script:
|
script:
|
||||||
- '[ -z "${DEPLOY_BASE_DIR}" ] && echo "Deploy dir can not be empty" && exit 1'
|
- '[ -z "${DEPLOY_BASE_DIR}" ] && echo "Deploy dir can not be empty" && exit 1'
|
||||||
- '[ -z "${CI_BUILD_REF_NAME}" ] && echo "Build name can not be empty" && exit 1'
|
- '[ -z "${CI_BUILD_REF_NAME}" ] && echo "Build name can not be empty" && exit 1'
|
||||||
|
Loading…
Reference in New Issue
Block a user