(experiment) brew is too slow

This commit is contained in:
Peter Squicciarini 2020-09-16 09:59:06 -07:00
parent a5782f621b
commit 024c056cf3
No known key found for this signature in database
GPG key ID: 08B897BCAB6763CB
2 changed files with 8 additions and 5 deletions

View file

@ -1,24 +1,25 @@
jobs:
include:
- os: linux
sudo: required
env: BUILDARCH=x64
dist: trusty
- os: linux
sudo: required
env: BUILDARCH=arm64
dist: trusty
- os: linux
sudo: required
env: BUILDARCH=arm
dist: trusty
- os: osx
osx_image: xcode12
env: OSX_INSTALL_DEPS=1
- os: osx
osx_image: xcode12
env: OSX_BUILD=1
language: node_js
node_js: "12.14.1"
before_install:
install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$PATH"
- . install_deps.sh

View file

@ -1,7 +1,9 @@
#!/bin/bash
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew install jq zip
curl -Lo $HOME/bin/jq --create-dirs https://github.com/stedolan/jq/releases/download/jq-1.6/jq-osx-amd64
chmod +x $HOME/bin/jq
export PATH="$HOME/bin:$PATH"
else
sudo apt-get update
sudo apt-get install -y fakeroot jq