mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 09:46:09 +03: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.
18 lines
624 B
YAML
18 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
|