servo/.travis.yml
author Andrew Halberstadt <ahalberstadt@mozilla.com>
Fri, 04 Aug 2017 10:53:43 -0400
changeset 373451 adf616622c4a9492abaef2cfd18947842ba6a759
parent 357169 2445c1a53fe2bf66317fcbb495a528eb68fdabc3
child 376248 21a88d991f7aa7e5600acf3e3f8cad7313188885
permissions -rw-r--r--
Bug 1306122 - [mozlint] Create a compact formatter that mimics the eslint 'compact' format, r=armenzg MozReview-Commit-ID: 5JJJhMIrMIB

language: python

matrix:
  fast_finish: true
  include:
    - sudo: false
      script:
         - ./mach test-tidy --no-progress --all
         - ./mach test-tidy --no-progress --self-test
      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/check_no_panic.sh
         - bash etc/ci/lockfile_changed.sh
         - bash etc/ci/manifest_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