pulsar/circle.yml

46 lines
970 B
YAML
Raw Normal View History

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
TEST_JUNIT_XML_ROOT: ${CIRCLE_TEST_REPORTS}
2016-07-20 19:28:36 +03:00
2016-07-20 19:26:13 +03:00
xcode:
version: 7.3
general:
artifacts:
- out/atom-mac.zip
- out/atom-mac-symbols.zip
- docs/output/atom-api.json
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
2017-07-16 15:19:39 +03:00
- npm install -g npm@5.3.0
2016-07-20 19:41:21 +03:00
2016-07-20 19:22:24 +03:00
override:
- script/build --code-sign --compress-artifacts
2016-07-28 12:24:44 +03:00
2016-07-20 20:07:06 +03:00
cache_directories:
- 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
- ~/.atom/compile-cache
2017-03-10 11:39:14 +03:00
- ~/.atom/snapshot-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
- 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
experimental:
notify:
branches:
only:
- master