diff --git a/.cirrus.yml b/.cirrus.yml index 8e1be2de95c15..7cb839433ea29 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -25,3 +25,19 @@ build_android_task: ./flutter/tools/gn --android --unoptimized ninja -C out/android_debug_unopt +format_and_dart_test_task: + container: + image: gcr.io/flutter-cirrus/build-engine-image:0.2 + + env: + CIRRUS_WORKING_DIR: "/tmp/github_repo" + + replace_engine_script: | + cd $ENGINE_PATH/src + rm -r flutter + cp $CIRRUS_WORKING_DIR -r ./flutter + gclient sync + + format_script: cd $ENGINE_PATH/src/flutter && ./travis/format.sh + build_script: cd $ENGINE_PATH/src/flutter && ./travis/build.sh + test_script: cd $ENGINE_PATH/src/flutter && ./travis/test.sh diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 043404ff10922..0000000000000 --- a/.travis.yml +++ /dev/null @@ -1,13 +0,0 @@ -language: dart -dart: - - "dev/release/2.0.0-dev.63.0" -sudo: false -before_script: - - ./travis/setup.sh -script: - - ./travis/format.sh - - ./travis/build.sh - - ./travis/test.sh - -# We don't build the engine or run the tests for the engine on Travis -# See testing/run_tests.sh if that's what you're looking for though.