Link to build issue
https://travis-ci.com/Project9a/redpoint_client/jobs/291177953
Desired Behavior
applesimutils is successfully installed and available for tests to run
Error
"applesimutils --list --byType "iPhone 8"" failed with code = 127, stdout and stderr:
.travis.yml
language: node_js
node_js:
- node
- lts/*
env:
global:
- NODE_VERSION=stable
addons:
homebrew:
brewfile: true
install:
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
- export NVM_DIR="$HOME/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
- nvm install $NODE_VERSION
- nvm use $NODE_VERSION
- nvm alias default $NODE_VERSION
- npm install -g react-native-cli
- npm install -g expo-detox-cli && expotox clean-framework-cache && expotox build-framework-cache
- yarn add --dev detox \ detox-expo-helpers \ expo-detox-hook
cache:
directories:
- ~/.npm
- .jest
- ~/bin
before_script:
- npm install -g npm@latest
- ./setup.sh
script:
- detox test```
**Brewfile**
```brew "applesimutils"
tap "wix/brew"```
Also attempted with the following `.travis.yml` and got the same issue (without a Brewfile)
```---
language: node_js
node_js:
- node
- lts/*
env:
global:
- NODE_VERSION=stable
addons:
homebrew:
packages:
- applesimutils
taps: wix/brew
install:
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
- export NVM_DIR="$HOME/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
- nvm install $NODE_VERSION
- nvm use $NODE_VERSION
- nvm alias default $NODE_VERSION
- npm install -g react-native-cli
- npm install -g expo-detox-cli && expotox clean-framework-cache && expotox build-framework-cache
- yarn add --dev detox \ detox-expo-helpers \ expo-detox-hook
cache:
directories:
- ~/.npm
- .jest
- ~/bin
before_script:
- npm install -g npm@latest
- ./setup.sh
script:
- detox test```