2016-07-20 19:22:24 +03:00
|
|
|
machine:
|
2016-07-20 19:28:36 +03:00
|
|
|
environment:
|
|
|
|
XCODE_SCHEME: test
|
2016-07-20 19:37:29 +03:00
|
|
|
XCODE_WORKSPACE: test
|
2016-07-20 19:39:43 +03:00
|
|
|
XCODE_PROJECT: test
|
2016-07-20 19:28:36 +03:00
|
|
|
|
2016-07-20 19:26:13 +03:00
|
|
|
xcode:
|
|
|
|
version: 7.3
|
|
|
|
|
2016-07-21 12:09:04 +03:00
|
|
|
general:
|
|
|
|
artifacts:
|
2016-08-01 18:22:30 +03:00
|
|
|
- out/atom-mac.zip
|
|
|
|
- out/atom-mac-symbols.zip
|
2016-08-03 18:45:43 +03:00
|
|
|
- docs/output/atom-api.json
|
2016-07-21 12:09:04 +03:00
|
|
|
|
2016-07-20 19:22:24 +03:00
|
|
|
dependencies:
|
2016-07-20 19:41:21 +03:00
|
|
|
pre:
|
|
|
|
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.3/install.sh | bash
|
2017-01-25 22:03:05 +03:00
|
|
|
- nvm install 6.9.4
|
|
|
|
- nvm use 6.9.4
|
2016-07-20 19:43:15 +03:00
|
|
|
- npm install -g npm
|
2016-07-20 19:41:21 +03:00
|
|
|
|
2016-07-20 19:22:24 +03:00
|
|
|
override:
|
2016-08-09 14:28:59 +03:00
|
|
|
- script/build --code-sign --compress-artifacts
|
2016-07-28 12:24:44 +03:00
|
|
|
|
2016-07-20 20:07:06 +03:00
|
|
|
cache_directories:
|
2016-08-11 13:44:40 +03:00
|
|
|
- electron
|
2016-07-20 20:07:06 +03:00
|
|
|
- apm/node_modules
|
2016-08-02 15:04:45 +03:00
|
|
|
- script/node_modules
|
2016-07-20 20:07:06 +03:00
|
|
|
- node_modules
|
2016-08-11 19:53:26 +03:00
|
|
|
- ~/.atom/compile-cache
|
2016-07-20 20:07:06 +03:00
|
|
|
|
2016-07-20 19:22:24 +03:00
|
|
|
test:
|
|
|
|
override:
|
2016-08-29 11:40:44 +03:00
|
|
|
- script/lint
|
2016-09-29 23:39:51 +03:00
|
|
|
- osascript -e 'tell application "System Events" to keystroke "x"' # clear screen saver
|
2016-08-13 22:13:07 +03:00
|
|
|
- caffeinate -s script/test # Run with caffeinate to prevent screen saver
|
2016-08-26 16:47:32 +03:00
|
|
|
|
|
|
|
experimental:
|
|
|
|
notify:
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|