2017-07-05 12:01:13 +03:00
|
|
|
# we need trusty for the chrome addon
|
|
|
|
dist: trusty
|
|
|
|
|
|
|
|
# we don't need sudo, so can run in a container, which makes startup much
|
|
|
|
# quicker.
|
|
|
|
sudo: false
|
|
|
|
|
2016-08-25 13:56:49 +03:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
2017-05-30 17:11:17 +03:00
|
|
|
# make sure we work with a range of node versions.
|
|
|
|
# As of the time of writing:
|
|
|
|
# - 4.x is still in LTS (until April 2018), but some of our deps (notably
|
|
|
|
# extract-zip) don't work with it
|
|
|
|
# - 5.x has been EOLed for nearly a year.
|
2017-07-11 15:19:17 +03:00
|
|
|
# - 6.x is the active 'LTS' version
|
|
|
|
# - 7.x is no longer supported
|
|
|
|
# - 8.x is the current 'current' version (until October 2017)
|
2017-05-30 17:11:17 +03:00
|
|
|
#
|
|
|
|
# see: https://github.com/nodejs/LTS/
|
2017-06-01 19:55:52 +03:00
|
|
|
#
|
|
|
|
# anything before 6.3 ships with npm 3.9 or earlier, which had problems
|
|
|
|
# with symlinks in node_modules (see
|
|
|
|
# https://github.com/npm/npm/releases/tag/v3.10.0 'FIXES AND REFACTORING').
|
|
|
|
- 6.3
|
2017-05-30 17:11:17 +03:00
|
|
|
- 6
|
|
|
|
- 7
|
2017-07-05 11:43:40 +03:00
|
|
|
addons:
|
|
|
|
chrome: stable
|
2016-08-25 14:12:20 +03:00
|
|
|
install:
|
2017-06-01 20:02:51 +03:00
|
|
|
# clone the deps with depth 1: we know we will only ever need that one
|
|
|
|
# commit.
|
2017-07-05 11:43:40 +03:00
|
|
|
- scripts/fetch-develop.deps.sh --depth 1 && npm install
|