mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-24 19:56:37 +00:00
Merge pull request #218 from resin-io/misc/rm-deploy-osx
Remove .travis.yml deploy section
This commit is contained in:
commit
5cf570fca8
20
.travis.yml
20
.travis.yml
@ -29,26 +29,6 @@ before_script:
|
|||||||
script:
|
script:
|
||||||
- npm test
|
- npm test
|
||||||
|
|
||||||
before_deploy:
|
|
||||||
- pip install --user awscli
|
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
|
||||||
export CERTIFICATE_P12=Certificate.p12;
|
|
||||||
echo $CERTIFICATE_OSX_P12 | base64 --decode > $CERTIFICATE_P12;
|
|
||||||
export KEYCHAIN=etcher.keychain;
|
|
||||||
security create-keychain -p travis $KEYCHAIN;
|
|
||||||
security default-keychain -s $KEYCHAIN;
|
|
||||||
security unlock-keychain -p travis $KEYCHAIN;
|
|
||||||
security set-keychain-settings -t 3600 -u $KEYCHAIN;
|
|
||||||
security import $CERTIFICATE_P12 -k $KEYCHAIN -P $CERTIFICATE_PASSWORD -T /usr/bin/codesign;
|
|
||||||
fi
|
|
||||||
|
|
||||||
deploy:
|
|
||||||
provider: script
|
|
||||||
script: make upload-$TRAVIS_OSX_NAME
|
|
||||||
on:
|
|
||||||
repo: resin-io/etcher
|
|
||||||
tags: true
|
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
webhooks:
|
webhooks:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user