mirror of
https://github.com/flutter/flutter
synced 2024-10-13 19:52:53 +00:00
d3797628ca
* Run flutter tests in preview-dart-2 mode on travis flutter builds. * Run dart2 tests on osx. Run dart tests in dart2. * Fix name camelCase * Default options to empty array, rather than null * Troubleshoot failures * More logging * Troubleshoot: run single test * Troubleshoot: run 15 tests * Troubleshoot: run 15 tests with fix * Try limit concurrency to 1 * Limit concurrency for preview-dart-2 tests to 4 * Move dart2 tests to allow_failures section * Reinstate tests_dart_2 shard * Raise concurrency to 8 * Reuse compiler across multiple test runs * Allow to switch entry points when recompiling. Actually use single compiler to incrementally recompile all tests executed by 'flutter test'. * Remove leftover commented code * Fix comment * Lints
52 lines
1 KiB
YAML
52 lines
1 KiB
YAML
# ENVIRONMENTS
|
|
os:
|
|
- linux
|
|
- osx
|
|
osx_image: xcode9.2
|
|
env:
|
|
- SHARD=analyze
|
|
- SHARD=tests
|
|
- SHARD=tests_dart2
|
|
- SHARD=docs
|
|
- SHARD=build_and_deploy_gallery
|
|
matrix:
|
|
exclude:
|
|
- os: osx
|
|
env: SHARD=analyze
|
|
- os: osx
|
|
env: SHARD=docs
|
|
allow_failures:
|
|
- env: SHARD=tests_dart2
|
|
sudo: false
|
|
filter_secrets: false
|
|
|
|
# INSTALLATION
|
|
addons:
|
|
apt:
|
|
# sky_shell binary depends on /usr/lib/x86_64-linux-gnu/libstdc++.so.6 version GLIBCXX_3.4.18
|
|
sources:
|
|
- ubuntu-toolchain-r-test # if we don't specify this, the libstdc++6 we get is the wrong version
|
|
packages:
|
|
- lib32stdc++6
|
|
- libstdc++6
|
|
- fonts-droid
|
|
language: node_js
|
|
node_js:
|
|
- "6"
|
|
git:
|
|
# We rely on git tags for determining the version.
|
|
depth: false
|
|
cache:
|
|
bundler: true
|
|
directories:
|
|
- $HOME/.pub-cache
|
|
install:
|
|
- ./dev/bots/travis_install.sh
|
|
|
|
# TESTING
|
|
before_script:
|
|
- ./dev/bots/travis_setup.sh
|
|
script:
|
|
- ulimit -S -n 2048 # https://github.com/flutter/flutter/issues/2976
|
|
- ./dev/bots/travis_script.sh
|