Mise à jour du processus de construction des paquets via Drone

This commit is contained in:
wpetit 2017-07-24 18:38:32 +02:00
vecāks 56732e585d
revīzija 97247483f9
3 mainīti faili ar 16 papildinājumiem un 6 dzēšanām

Parādīt failu

@ -1,9 +1,9 @@
---
pipeline:
test:
image: alpine:3.6
image: node:6-alpine
commands:
- apk add --no-cache nodejs nodejs-npm firefox-esr
- apk add --no-cache firefox-esr
- npm install
- npm test
package-64:

10
.tamarin/prebuild Executable file
Parādīt failu

@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -o pipefail
set -e
# Install NodeJS into the container
apt-get update
apt-get install --yes --no-install-recommends curl ca-certificates
curl --silent --location https://deb.nodesource.com/setup_6.x | bash -
apt-get install --yes nodejs

Parādīt failu

@ -8,11 +8,11 @@ endif
all: build
clean:
rm -rf node_modules
rm -rf dist
build:
apt-get update
apt-get install --yes --no-install-recommends curl ca-certificates
curl --silent --location https://deb.nodesource.com/setup_6.x | bash -
apt-get install --yes nodejs
npm install --ignore-scripts
ARCH=$(ELECTRON_ARCH) npm run build