servo/.travis.yml
author Josh Matthews <josh@joshmatthews.net>
Tue, 22 Aug 2017 18:55:12 -0500
changeset 376248 21a88d991f7aa7e5600acf3e3f8cad7313188885
parent 357169 2445c1a53fe2bf66317fcbb495a528eb68fdabc3
child 387377 1e1c54a479798354ccead3e1bbb43977f5bc18e1
permissions -rw-r--r--
servo: Merge #18193 - Move fast checks into earlier Travis task (from servo:jdm-patch-2); r=SimonSapin This allows quicker feedback about whether the manifest needs updating; otherwise it has to wait until all builds and tests are complete. Source-Repo: https://github.com/servo/servo Source-Revision: 9c338a29294dc8ebf2c75dcdc3f2e67caef48ebe

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