12
3

More than 5 years have passed since last update.

CircleCIでflutter testする

Posted at

ポイント

  • CircleCIが用意しているAndroidのdockerイメージを使う
    • ロケールがC.UTF-8になっていてflutterコマンド実行時にエラーが出るのでen_US.UTF-8にしておく

設定例

config.yml
version: 2
jobs:
  build:
    environment:
      - LANG: en_US.UTF-8
    docker:
      - image: circleci/android:api-27-alpha
    steps:
      - checkout
      - run:
          name: Install Flutter SDK
          command: git clone -b beta https://github.com/flutter/flutter.git ~/flutter
      - run:
          name: run tests
          command: ~/flutter/bin/flutter test
12
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12
3