<commit_before>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
         # disabled due to #15076
         #- ./mach test-unit
         # disabled due to #14723
         #- ./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
         - ./mach cargo test -p selectors
         - ./mach cargo test -p style
      cache:
        directories:
          - .cargo
          - .servo
          - $HOME/.ccache
      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<commit_msg>Auto clean old nightlies on Travis<commit_after>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
         # disabled due to #15076
         #- ./mach test-unit
         # disabled due to #14723
         #- ./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
         - ./mach cargo test -p selectors
         - ./mach cargo test -p style
      cache:
        directories:
          - .cargo
          - .servo
          - $HOME/.ccache
      before_cache:
        - ./mach clean-nightlies --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
{'fraction_non_alphanumeric': 0.10308864821500201, 'fraction_numerical': 0.014841556357801846, 'mean_word_length': 1.1225531914893616, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1110453', 'n_tokens_mistral': 820, 'n_tokens_neox': 785, 'n_words': 176}