pulsar/circle.yml
Nathan Sobo 210c583d9e Rename packaged application on OS X and Linux
- On OS X, eliminate wrapper directory because app bundle is already
  a directory.
- On Linux, rename wrapper directory to include channel, version, and
  architecture.

Signed-off-by: Antonio Scandurra <as-cii@github.com>
2016-08-03 12:26:00 -06:00

49 lines
1.2 KiB
YAML

machine:
environment:
XCODE_SCHEME: test
XCODE_WORKSPACE: test
XCODE_PROJECT: test
xcode:
version: 7.3
post:
- |- # this weird literal syntax allows a : on the next line
curl --header 'Accept: application/vnd.github.v3.raw' --output /tmp/mac.p12 $ATOM_MAC_CODE_SIGNING_CERT_DOWNLOAD_URL
- security unlock-keychain -p $ATOM_MAC_CODE_SIGNING_KEYCHAIN_PASSWORD $ATOM_MAC_CODE_SIGNING_KEYCHAIN
- security import /tmp/mac.p12 -P $ATOM_MAC_CODE_SIGNING_CERT_PASSWORD -k $ATOM_MAC_CODE_SIGNING_KEYCHAIN -T /usr/bin/codesign
- security find-identity -p codesigning
general:
artifacts:
- out/atom-mac.zip
- out/atom-mac-symbols.zip
- docs/output/atom-api.json
dependencies:
pre:
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.3/install.sh | bash
- nvm install 4.4.7
- nvm use 4.4.7
- npm install -g npm
override:
- script/bootstrap
- script/build --code-sign
post:
- cd out
- zip -r ./atom-mac.zip ./Atom.app
- zip -r ./atom-mac-symbols.zip ./symbols
- cd -
cache_directories:
- cache
- apm/node_modules
- script/node_modules
- node_modules
test:
override:
- script/test