1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-27 10:48:22 +00:00

try to fix gyp in CI 2

This commit is contained in:
Vladimir Volek 2019-04-25 15:53:14 +02:00
parent 993528cee0
commit 677c17b511

View File

@ -3,10 +3,6 @@ image: node:10.15.1
variables:
CYPRESS_CACHE_FOLDER: "$CI_PROJECT_DIR/cache/Cypress"
before_script:
- "apt-get update"
- "apt-get install -y build-essential"
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
@ -99,6 +95,7 @@ deploy review:
name: $CI_BUILD_REF_NAME
url: $BASE_REVIEW_URL/$CI_BUILD_REF_NAME
on_stop: delete review
before_script: []
script:
- echo "Deploy a review app"
- '[ -z "${DEPLOY_BASE_DIR}" ] && echo "Deploy base dir cannot be empty" && exit 255'
@ -122,6 +119,7 @@ deploy stage beta:
when: manual
dependencies:
- build beta
before_script: []
script:
- scripts/s3sync.sh stage beta
only:
@ -138,6 +136,7 @@ deploy stage stable:
when: manual
dependencies:
- build stable
before_script: []
script:
- scripts/s3sync.sh stage stable
only:
@ -154,6 +153,7 @@ delete review:
environment:
name: $CI_BUILD_REF_NAME
action: stop
before_script: []
script:
- '[ -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'