Browse Source

(experiment) manual brew

Peter Squicciarini 4 years ago
parent
commit
a5782f621b
2 changed files with 3 additions and 7 deletions
  1. 0 6
      .travis.yml
  2. 3 1
      install_deps.sh

+ 0 - 6
.travis.yml

@@ -14,12 +14,6 @@ jobs:
       dist: trusty
       dist: trusty
     - os: osx
     - os: osx
       osx_image: xcode12
       osx_image: xcode12
-      addons:
-        homebrew:
-          packages:
-            - jq
-            - zip
-          update: true
 
 
 language: node_js
 language: node_js
 node_js: "12.14.1"
 node_js: "12.14.1"

+ 3 - 1
install_deps.sh

@@ -1,6 +1,8 @@
 #!/bin/bash
 #!/bin/bash
 
 
-if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then
+if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
+  brew install jq zip
+else
   sudo apt-get update
   sudo apt-get update
   sudo apt-get install -y fakeroot jq
   sudo apt-get install -y fakeroot jq
   triplet=
   triplet=