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

# INSTALLATION
Adam Barth's avatar
Adam Barth committed
22 23
addons:
  apt:
24
    # 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
25
    sources:
26
      - 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
27
    packages:
28
      - lib32stdc++6
29
      - libstdc++6
30
      - fonts-droid
31 32
language: node_js
node_js:
33
  - "8.1"
34 35 36 37
git:
  # We rely on git tags for determining the version.
  depth: false
cache:
38
  bundler: true
39 40
  directories:
    - $HOME/.pub-cache
41
install:
42
  - ./dev/bots/travis_install.sh
43 44

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