From 224fc7415b73d7567df829083e3837eac444e5bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gre=CC=81gory=20Le=20Garec?= Date: Wed, 7 Nov 2018 12:26:58 +0100 Subject: [PATCH] =?UTF-8?q?chore:=20Improve=20travis=20config=20=E2=9A=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .travis.yml | 2 ++ package.json | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8e56e572..b1a9f71a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,6 +40,8 @@ before_script: - $GOPATH/bin/cozy-stack apps install --domain "$COZY_V3_DOMAIN" mini "git://localhost/" - export COZY_STACK_TOKEN=$($GOPATH/bin/cozy-stack instances token-app "$COZY_V3_DOMAIN" "mini") +script: +- yarn build deploy: provider: npm email: npm@cozycloud.cc diff --git a/package.json b/package.json index cb3ac18c..a579a487 100644 --- a/package.json +++ b/package.json @@ -21,8 +21,7 @@ "test:v2": "NODE_ENV=test NODE_TARGET=node COZY_STACK_VERSION=2 COZY_STACK_URL=http://localhost:9104 mocha-webpack 'test/integration/**.js'", "test:v3": "NODE_ENV=test NODE_TARGET=node COZY_STACK_VERSION=3 COZY_STACK_URL=http://localhost:8080 mocha-webpack 'test/integration/**.js'", "clean": "rm -r dist .tmp", - "shasum": "shasum -a 256 dist/cozy-client.min.js && shasum -a 256 dist/cozy-client.min.js.map", - "prepublishOnly": "yarn build" + "shasum": "shasum -a 256 dist/cozy-client.min.js && shasum -a 256 dist/cozy-client.min.js.map" }, "repository": { "type": "git",