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",