servo/.travis.yml
author Nick Alexander <nalexander@mozilla.com>
Tue, 17 Oct 2017 11:50:14 -0700
changeset 681691 8a6b9d69bf7a1cbeb30f84d6e5def41c1af3816c
parent 651031 21a88d991f7aa7e5600acf3e3f8cad7313188885
child 684024 1e1c54a479798354ccead3e1bbb43977f5bc18e1
permissions -rw-r--r--
Bug 1408598 - Don't run {multi-l10n, update} actions for android-* tasks. r=maliu The multi-l10n and update mozharness actions are Nightly build specific. The android-* tasks look like builds but aren't really builds -- they don't produce APKs, for example. In the past, these actions immediately returned because the android-* jobs where never considered Nightly builds and there is a test for "is Nightly" in each mozharness action. When forcing a build to be a Nightly, these actions don't immediately return; since they're build specific, this causes errors. This commit simply doesn't run these actions, since they're not appropriate to these tasks. MozReview-Commit-ID: deJJbBu0eb

language: python

matrix:
  fast_finish: true
  include:
    - sudo: false
      script:
         - ./mach test-tidy --no-progress --all
         - ./mach test-tidy --no-progress --self-test
         - bash etc/ci/check_no_panic.sh
         - bash etc/ci/manifest_changed.sh
      cache: false
    - sudo: 9000
      dist: trusty
      script:
         - ./mach build -d --verbose
         - ./mach test-compiletest
         - ./mach test-unit
         - ./mach clean
         - ./mach build-geckolib
         - ./mach test-stylo
         - bash etc/ci/lockfile_changed.sh
      cache:
        directories:
          - .cargo
          - .servo
          - $HOME/.ccache
      before_cache:
        - ./mach clean-nightlies --keep 2 --force
        - ./mach clean-cargo-cache --keep 2 --force
      env: CCACHE=/usr/bin/ccache
      addons:
        apt:
          packages:
            - cmake
            - freeglut3-dev
            - gperf
            - libosmesa6-dev
            - libgles2-mesa-dev
            - python-virtualenv
            - xorg-dev
            - ccache
            - libdbus-glib-1-dev
            - libedit-dev

branches:
  only:
    - master