browser/components/newtab/.travis.yml
author Brent Schroeter <brent@brentschroeter.com>
Sat, 25 Jan 2020 16:21:02 +0000
changeset 511776 3bc0d683a41cb63c83cb115d1b6a85d50013d59e
parent 508075 2fa2cb1fe36bc4e85ae8920c366ef2749f182ffc
permissions -rw-r--r--
Bug 1597322 - Correctly set a:visited color in dark-mode. r=ewright The light theme sets both visited and non-visited links to the same color (`--blue-60`) by default, while the dark theme sets non-visited links to `--blue-40` but did not specify a color for visited links, displaying them as `--blue-60`. This resulted in inconsistent styling of pages written in XHTML versus HTML, e.g. `about:protections` versus `about:newtab`. epang confirmed that the desired behavior is to display links as `--blue-40`, visited or not. Differential Revision: https://phabricator.services.mozilla.com/D60748

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