mirror of
https://github.com/FormidableLabs/react-fast-compare.git
synced 2026-02-01 17:46:42 +00:00
- Refactor the test directory structure. - Imports the `node` tests into the browser, building with webpack. They are the source of truth. - Run headless chrome in Travis. - Run IE9 in Appveyor. - Use `builder` to parallelize running lint and various tests. - Fixes #7
38 lines
562 B
YAML
38 lines
562 B
YAML
dist: trusty
|
|
|
|
language: node_js
|
|
|
|
node_js:
|
|
- "6"
|
|
- "8"
|
|
- "9"
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
addons:
|
|
chrome: stable
|
|
|
|
before_install:
|
|
# GUI for real browsers.
|
|
- export DISPLAY=:99.0
|
|
- sh -e /etc/init.d/xvfb start
|
|
# Headless chrome
|
|
- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
|
|
|
|
script:
|
|
# Output useful info for debugging.
|
|
- node --version
|
|
- yarn --version
|
|
# Tests
|
|
- yarn run test
|
|
|
|
after_script:
|
|
- coveralls < coverage/lcov.info
|
|
|
|
cache:
|
|
yarn: true
|
|
directories:
|
|
- node_modules
|