servo/.travis.yml
author UK992 <urbankrajnc92@gmail.com>
Mon, 08 May 2017 20:05:16 -0500
changeset 357169 2445c1a53fe2bf66317fcbb495a528eb68fdabc3
parent 357057 aea57457600e0f41f3aaac138e2b10ca54fdfadc
child 376248 21a88d991f7aa7e5600acf3e3f8cad7313188885
permissions -rw-r--r--
servo: Merge #16767 - Try to re-enable unit tests on travis-ci (from UK992:travis); r=jdm After https://github.com/servo/servo/pull/16573 and https://github.com/servo/servo/pull/16593, issue https://github.com/servo/servo/issues/15076 _could_ be fixed. Edit: Closes #14723 Closes #15076 Source-Repo: https://github.com/servo/servo Source-Revision: 8ff484d3fd0b092d64af8b0a2cfa51b318631b82

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