Skip to content

Commit f310095

Browse files
committed
improved circleci
1 parent a4727aa commit f310095

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

.circleci/config.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
version: 2
2+
13
jobs:
24

35
playground-build:
@@ -14,11 +16,22 @@ jobs:
1416
xcode: "9.0"
1517
steps:
1618
- checkout
19+
- run: |
20+
security create-keychain -p travis build.keychain
21+
security default-keychain -s build.keychain
22+
security unlock-keychain -p travis build.keychain
23+
echo $CERTIFICATE_OSX_P12 | base64 --decode > certificate.p12
24+
security import certificate.p12 -k build.keychain -P $CERTIFICATE_OSX_PASSWORD -T /usr/bin/codesign
25+
security set-key-partition-list -S apple-tool:,apple: -s -k travis build.keychain
26+
# - run: security create-keychain -p travis build.keychain
27+
# - run: security default-keychain -s build.keychain
28+
# - run: security unlock-keychain -p travis build.keychain
29+
# - run: echo $CERTIFICATE_OSX_P12 | base64 --decode > certificate.p12
30+
# - run: security import certificate.p12 -k build.keychain -P $CERTIFICATE_OSX_PASSWORD -T /usr/bin/codesign
31+
# - run: security set-key-partition-list -S apple-tool:,apple: -s -k travis build.keychain
1732
- run: npm i -g yarn
18-
- run: echo $CERTIFICATE_OSX_P12 | base64 --decode > certificate.p12
19-
- run: security import certificate.p12 -P $CERTIFICATE_OSX_PASSWORD -T /usr/bin/codesign
2033
- run: cd packages/graphql-playground-electron && yarn
21-
# - run: cd packages/graphql-playground-electron && yarn release
34+
- run: cd packages/graphql-playground-electron && yarn release
2235

2336
workflows:
2437
version: 2

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ functions:
159159
cors: true
160160
```
161161
162-
## Development [![npm version](https://badge.fury.io/js/graphql-playground.svg)](https://badge.fury.io/js/graphql-playground)
162+
## Development [![npm version](https://badge.fury.io/js/graphql-playground.svg)](https://badge.fury.io/js/graphql-playground) [![Build Status](https://travis-ci.org/graphcool/graphql-playground.svg?branch=master)](https://travis-ci.org/graphcool/graphql-playground)
163163
164164
This is a mono-repo setup containing packages for the `graphql-playground` and `graphql-playground-electron`.
165165

0 commit comments

Comments
 (0)