Switch to NodeJS v12 (LTS) for build
This commit is contained in:
parent
b216b943b9
commit
b18675eae5
@ -15,6 +15,7 @@ nodejs:
|
||||
packages_trusty:
|
||||
apt: 'nodejs sox'
|
||||
apt_pinning: '(echo "Package: nodejs" && echo "Pin: origin deb.nodesource.com" && echo "Pin-Priority: 999") > /etc/apt/preferences'
|
||||
prep_12: 'echo "deb http://deb.nodesource.com/node_12.x trusty main" > /etc/apt/sources.list.d/nodesource.list && wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -'
|
||||
packages_xenial:
|
||||
apt: 'nodejs sox'
|
||||
apt_pinning: '(echo "Package: nodejs" && echo "Pin: origin deb.nodesource.com" && echo "Pin-Priority: 999") > /etc/apt/preferences'
|
||||
|
||||
@ -8,7 +8,7 @@ build:
|
||||
- "notify.irc-channel.${notifications.irc}.on-failed"
|
||||
system_setup:
|
||||
>
|
||||
${nodejs.packages_trusty.prep_8} && ${nodejs.packages_trusty.apt_pinning}
|
||||
${nodejs.packages_trusty.prep_12} && ${nodejs.packages_trusty.apt_pinning}
|
||||
&& apt-get -qq update && apt-get -qq -y install nodejs python-yaml &&
|
||||
apt-get -qq -y install ${python.packages_trusty.apt} && ${swig.packages.install_script}
|
||||
system_config:
|
||||
|
||||
@ -8,7 +8,7 @@ build:
|
||||
- "notify.irc-channel.${notifications.irc}.on-failed"
|
||||
system_setup:
|
||||
>
|
||||
${nodejs.packages_trusty.prep_8} && ${nodejs.packages_trusty.apt_pinning}
|
||||
${nodejs.packages_trusty.prep_12} && ${nodejs.packages_trusty.apt_pinning}
|
||||
&& apt-get -qq update && apt-get -qq -y install nodejs python-yaml &&
|
||||
apt-get -qq -y install ${python.packages_trusty.apt} && ${swig.packages.install_script}
|
||||
system_config:
|
||||
|
||||
@ -6,7 +6,7 @@ build:
|
||||
- "index.project.deepspeech.deepspeech.native_client.gpu.${event.head.sha}"
|
||||
system_setup:
|
||||
>
|
||||
${nodejs.packages_trusty.prep_8} && ${nodejs.packages_trusty.apt_pinning}
|
||||
${nodejs.packages_trusty.prep_12} && ${nodejs.packages_trusty.apt_pinning}
|
||||
&& apt-get -qq update && apt-get -qq -y install nodejs python-yaml &&
|
||||
apt-get -qq -y install ${python.packages_trusty.apt} && ${swig.packages.install_script}
|
||||
system_config:
|
||||
|
||||
@ -8,7 +8,7 @@ build:
|
||||
- "notify.irc-channel.${notifications.irc}.on-failed"
|
||||
system_setup:
|
||||
>
|
||||
${nodejs.packages_trusty.prep_8} && ${nodejs.packages_trusty.apt_pinning}
|
||||
${nodejs.packages_trusty.prep_12} && ${nodejs.packages_trusty.apt_pinning}
|
||||
&& apt-get -qq update && apt-get -qq -y install nodejs python-yaml &&
|
||||
apt-get -qq -y install ${python.packages_trusty.apt} && ${swig.packages.install_script}
|
||||
system_config:
|
||||
|
||||
@ -11,7 +11,7 @@ build:
|
||||
apt-get -qq -y install gdebi git pixz &&
|
||||
wget http://mirrors.kernel.org/ubuntu/pool/universe/m/multistrap/multistrap_2.2.0ubuntu2_all.deb -O /tmp/multistrap_2.2.0ubuntu2_all.deb &&
|
||||
echo "y" | gdebi /tmp/multistrap_2.2.0ubuntu2_all.deb &&
|
||||
${nodejs.packages_trusty.prep_8} && ${nodejs.packages_trusty.apt_pinning}
|
||||
${nodejs.packages_trusty.prep_12} && ${nodejs.packages_trusty.apt_pinning}
|
||||
&& apt-get -qq update && apt-get -qq -y install nodejs python-yaml &&
|
||||
apt-get -qq -y install ${python.packages_trusty.apt} && ${swig.packages.install_script}
|
||||
system_config:
|
||||
|
||||
@ -11,7 +11,7 @@ build:
|
||||
apt-get -qq -y install gdebi git pixz &&
|
||||
wget http://mirrors.kernel.org/ubuntu/pool/universe/m/multistrap/multistrap_2.2.0ubuntu2_all.deb -O /tmp/multistrap_2.2.0ubuntu2_all.deb &&
|
||||
echo "y" | gdebi /tmp/multistrap_2.2.0ubuntu2_all.deb &&
|
||||
${nodejs.packages_trusty.prep_8} && ${nodejs.packages_trusty.apt_pinning}
|
||||
${nodejs.packages_trusty.prep_12} && ${nodejs.packages_trusty.apt_pinning}
|
||||
&& apt-get -qq update && apt-get -qq -y install nodejs python-yaml &&
|
||||
apt-get -qq -y install ${python.packages_trusty.apt} && ${swig.packages.install_script}
|
||||
system_config:
|
||||
|
||||
@ -11,7 +11,7 @@ build:
|
||||
- "notify.irc-channel.${notifications.irc}.on-failed"
|
||||
system_setup:
|
||||
>
|
||||
${nodejs.packages_trusty.prep_6} && ${nodejs.packages_trusty.apt_pinning}
|
||||
${nodejs.packages_trusty.prep_12} && ${nodejs.packages_trusty.apt_pinning}
|
||||
&& apt-get -qq update && apt-get -qq -y install nodejs python-yaml &&
|
||||
apt-get -qq -y install ${python.packages_trusty.apt} && ${swig.packages.install_script}
|
||||
system_config:
|
||||
|
||||
@ -8,7 +8,7 @@ build:
|
||||
- "notify.irc-channel.${notifications.irc}.on-failed"
|
||||
system_setup:
|
||||
>
|
||||
${nodejs.packages_trusty.prep_6} && ${nodejs.packages_trusty.apt_pinning}
|
||||
${nodejs.packages_trusty.prep_12} && ${nodejs.packages_trusty.apt_pinning}
|
||||
&& apt-get -qq update && apt-get -qq -y install nodejs python-yaml &&
|
||||
apt-get -qq -y install ${python.packages_trusty.apt} && ${swig.packages.install_script}
|
||||
system_config:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user