Mise à jour du processus de construction des paquets via Drone

This commit is contained in:
wpetit 2017-07-24 18:38:32 +02:00
parent 56732e585d
commit 97247483f9
3 changed files with 16 additions and 6 deletions

View File

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

10
.tamarin/prebuild Executable file
View File

@ -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

View File

@ -8,11 +8,11 @@ endif
all: build all: build
clean:
rm -rf node_modules
rm -rf dist
build: 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 npm install --ignore-scripts
ARCH=$(ELECTRON_ARCH) npm run build ARCH=$(ELECTRON_ARCH) npm run build