Skip to content

Commit 0975da2

Browse files
authored
Added travis again
1 parent b87afa9 commit 0975da2

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.travis.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
os: osx
2+
osx_image: xcode9.2
3+
4+
language: node_js
5+
node_js: "8"
6+
7+
cache:
8+
directories:
9+
- node_modules
10+
- $HOME/.cache/electron
11+
- $HOME/.cache/electron-builder
12+
13+
install:
14+
- |
15+
security create-keychain -p travis build.keychain
16+
security default-keychain -s build.keychain
17+
security unlock-keychain -p travis build.keychain
18+
echo $CERTIFICATE_OSX_P12 | base64 --decode > certificate.p12
19+
security import certificate.p12 -k build.keychain -P $CERTIFICATE_OSX_PASSWORD -T /usr/bin/codesign
20+
security set-key-partition-list -S apple-tool:,apple: -s -k travis build.keychain
21+
- cd packages/graphql-playground-electron
22+
- yarn install
23+
- yarn release
24+
25+
notifications:
26+
email: false
27+
28+
branches:
29+
except:
30+
- "/^v\\d+\\.\\d+\\.\\d+$/"

0 commit comments

Comments
 (0)