DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
language: node_js

node_js:
  # when changing this, be sure to edit .nvrmc and package.json too
  - 8.17.*

python:
  - "2.7"

addons:
  # Run unit tests in Nightly to be in line with what Firefox tests would run against
  firefox: "latest-nightly"

cache:
  directories:
    - node_modules

before_install:
  # see https://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-xvfb-to-Run-Tests-That-Require-a-GUI
  - "export DISPLAY=:99.0"
  - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16 -extension RANDR"
  - export PATH="$PATH:$HOME/.rvm/bin"
  - export PATH="$PATH:./node_modules/.bin"
  - sleep 3

install:
  - npm config set spin false
  - npm install

script:
  - npm test

notifications:
  email: false