Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1831 from OpenBazaar/brian.test-notarization
Browse files Browse the repository at this point in the history
Updated Build Script for OS X Notarization
  • Loading branch information
jjeffryes authored Nov 2, 2019
2 parents bac343d + 0af3cc7 commit 8875640
Show file tree
Hide file tree
Showing 3 changed files with 250 additions and 111 deletions.
18 changes: 15 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
language: node_js
sudo: true
os:
- linux
- osx
before_cache:
- brew cleanup
cache:
directories:
- node_modules
- "/usr/local/Cellar"
- $HOME/Library/Caches/Homebrew

node_js:
- '8'
addons:
Expand All @@ -19,6 +20,17 @@ before_script:
- if [[ -n "$TRAVIS_TAG" ]]; then openssl aes-256-cbc -k "$OB1_SECRET" -in .travis/ob1.cert.spc.enc -d -a -out ./.travis/ob1.cert.spc; fi
- if [[ -n "$TRAVIS_TAG" ]]; then openssl aes-256-cbc -k "$OB1_SECRET" -in .travis/ob1.cert.spc.enc -d -a -out ./.travis/ob1.pvk; fi
- if [[ -n "$TRAVIS_TAG" ]]; then if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then "./.travis/add-key.sh"; fi ; fi
jobs:
include:
- os: osx
osx_image: xcode11
env: BINARY=osx
- os: osx
osx_image: xcode11
env: BINARY=osxclient
- os: linux
- os: osx
env: BINARY=win
script:
- npm run lint
- npm run test
Expand Down
Loading

0 comments on commit 8875640

Please sign in to comment.