2021-02-10 12:09:51 +00:00
|
|
|
language: dart
|
|
|
|
|
|
|
|
install:
|
2021-02-10 12:19:50 +00:00
|
|
|
- export HOMEBREW_NO_AUTO_UPDATE=1
|
|
|
|
- brew install node
|
|
|
|
- brew install libimobiledevice ideviceinstaller ios-deploy
|
|
|
|
- brew install cocoapods || echo 'ignore exit(1)'
|
|
|
|
- brew link --overwrite cocoapods
|
2021-02-10 12:36:40 +00:00
|
|
|
- export FLUTTER_HOME=$HOME/flutter
|
|
|
|
- export PATH=$HOME/flutter:$HOME/flutter/bin/:$HOME/flutter/bin/cache/dart-sdk/bin:$PATH
|
2021-02-10 12:30:51 +00:00
|
|
|
- git clone https://github.com/flutter/flutter.git $FLUTTER_HOME
|
|
|
|
- cd $FLUTTER_HOME
|
|
|
|
- git checkout beta
|
|
|
|
- git checkout stable
|
|
|
|
- flutter doctor
|
|
|
|
- flutter channel master
|
|
|
|
- flutter upgrade
|
|
|
|
- flutter doctor
|
2021-02-10 12:09:51 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
- stage: iOS Integration Tests
|
|
|
|
os: osx
|
|
|
|
osx_image: xcode12.3
|
|
|
|
before_script:
|
|
|
|
- cd ./nodejs_server_test_auth_basic_and_ssl
|
|
|
|
- npm install
|
|
|
|
- cd ..
|
|
|
|
- xcrun simctl list
|
|
|
|
- xcrun simctl create Flutter-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-12 com.apple.CoreSimulator.SimRuntime.iOS-14-3 | xargs xcrun simctl boot
|
|
|
|
script:
|
|
|
|
- ./scripts/test.sh $(ipconfig getifaddr en0)
|