servo/.travis.yml
author Ryan VanderMeulen <ryanvm@gmail.com>
Wed, 11 Apr 2018 09:24:02 -0400
changeset 468936 f041c724fb809d3c927000e38bf67034d3a3930e
parent 464469 8cad90854096397d603810b396282e399bea4709
permissions -rw-r--r--
Bug 1453317 - Update VS2017 used in automation to version 15.6.6. r=froydnj CLOSED TREE

language: python

matrix:
  fast_finish: true
  include:
    - sudo: false
      script:
         - ./mach test-tidy --no-progress --all
         - ./mach test-tidy --no-progress --self-test
         - python ./etc/memory_reports_over_time.py --test
         - bash etc/ci/check_no_panic.sh
         - bash etc/ci/manifest_changed.sh
      cache: false
    - sudo: 9000
      dist: trusty
      before_install:
        - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
        - sudo add-apt-repository 'deb http://apt.llvm.org/precise/ llvm-toolchain-precise-3.9 main' -y
        - sudo apt-get update -q
        - sudo apt-get install clang-3.9 llvm-3.9 llvm-3.9-runtime -y
        - export LLVM_CONFIG=/usr/lib/llvm-3.9/bin/llvm-config
        - curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none -y
        - source ~/.profile
      script:
         - ./mach build -d --verbose
         - ./mach test-unit
         - ./mach clean
         - ./mach build-geckolib
         - ./mach test-stylo
         - bash etc/ci/lockfile_changed.sh
      cache:
        directories:
          - .servo
          - $HOME/.cargo
          - $HOME/.rustup
          - $HOME/.ccache
      before_cache:
        - ./mach clean-nightlies --keep 2 --force
        - ./mach clean-cargo-cache --keep 2 --force
      env:
        CCACHE=/usr/bin/ccache
        RUSTFLAGS=-Dwarnings
        CARGO_INCREMENTAL=0
      addons:
        apt:
          packages:
            - cmake
            - gperf
            - libosmesa6-dev
            - libgles2-mesa-dev
            - python-virtualenv
            - xorg-dev
            - ccache
            - libdbus-glib-1-dev
            - libedit-dev

branches:
  only:
    - master