.travis.yml 964 Bytes
Newer Older
1
# ENVIRONMENTS
2 3
os:
  - linux
4
  - osx
5
osx_image: xcode9.2
6 7 8 9
env:
  - SHARD=analyze
  - SHARD=tests
  - SHARD=docs
10
  - SHARD=build_and_deploy_gallery
11 12 13 14 15 16
matrix:
  exclude:
  - os: osx
    env: SHARD=analyze
  - os: osx
    env: SHARD=docs
17
sudo: false
18
filter_secrets: false
19 20

# INSTALLATION
Adam Barth's avatar
Adam Barth committed
21 22
addons:
  apt:
23
    # sky_shell binary depends on /usr/lib/x86_64-linux-gnu/libstdc++.so.6 version GLIBCXX_3.4.18
Adam Barth's avatar
Adam Barth committed
24
    sources:
25
      - ubuntu-toolchain-r-test # if we don't specify this, the libstdc++6 we get is the wrong version
Adam Barth's avatar
Adam Barth committed
26
    packages:
27
      - lib32stdc++6
28
      - libstdc++6
29
      - fonts-droid
30 31 32
language: node_js
node_js:
  - "6"
33 34 35 36
git:
  # We rely on git tags for determining the version.
  depth: false
cache:
37
  bundler: true
38 39
  directories:
    - $HOME/.pub-cache
40
install:
41
  - ./dev/bots/travis_install.sh
42 43

# TESTING
44
before_script:
45
  - ./dev/bots/travis_setup.sh
46
script:
47
  - ulimit -S -n 2048 # https://github.com/flutter/flutter/issues/2976
48
  - ./dev/bots/travis_script.sh