mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 05:04:57 +08:00
81c0c7bd4f
* tell git to checkout the right branch, rather than cloning and then changing. * clone with depth 1 under travis, to save time. * less pushd/popd, which print out confusing text - use `cd` in a subshell instead. (and just avoid it where possible). * add some markers to the output to let travis roll it up.
19 lines
624 B
YAML
19 lines
624 B
YAML
language: node_js
|
|
node_js:
|
|
# 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.
|
|
# - 6.x is the current 'LTS' version
|
|
# - 7.x is the current 'current' version (until October 2017)
|
|
#
|
|
# see: https://github.com/nodejs/LTS/
|
|
- 6.0
|
|
- 6
|
|
- 7
|
|
install:
|
|
# clone the deps with depth 1: we know we will only ever need that one
|
|
# commit.
|
|
- scripts/fetch-develop.deps.sh --depth 1 && npm install
|