flutter/.travis.yml
Ian Hickson 9e42e4b88f
New release process (#14061)
Generate the "version" file from git tags.
Remove the old VERSION file and mentions of versions in pubspec.yaml files.
Replace the old update_versions.dart script with a new roll_dev.dart script.
Update "flutter channel".
Update "flutter upgrade", including making it transition from alpha to dev.
Update "flutter --version" and "flutter doctor".
2018-01-18 07:59:06 -08:00

45 lines
928 B
YAML

# ENVIRONMENTS
os:
- linux
- osx
env:
- SHARD=analyze
- SHARD=tests
- SHARD=docs
matrix:
exclude:
- os: osx
env: SHARD=analyze
- os: osx
env: SHARD=docs
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:
- libstdc++6
- fonts-droid
language: node_js
node_js:
- "6"
git:
# We rely on git tags for determining the version.
depth: false
cache:
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
- (./bin/cache/dart-sdk/bin/dart ./dev/bots/test.dart && ./dev/bots/travis_upload.sh)