From 1eaabf177f1799ce768f276f3dc92761e49e2ff1 Mon Sep 17 00:00:00 2001 From: Gary Burgess Date: Sat, 21 May 2016 00:46:49 +0100 Subject: [PATCH] Update build --- .travis.yml | 17 ++++++++--------- package.json | 5 +++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index bab2434..3455305 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: node_js -sudo: required dist: trusty -node_js: 5 +sudo: required +node_js: 6 env: - PATH=$HOME/purescript:$PATH install: @@ -11,14 +11,13 @@ install: - chmod a+x $HOME/purescript - npm install -g bower - npm install - - bower install script: - - npm test + - bower install --production + - npm run -s build + - bower install + - npm -s test after_success: - >- test $TRAVIS_TAG && - psc-publish > .pursuit.json && - curl -X POST http://pursuit.purescript.org/packages \ - -d @.pursuit.json \ - -H 'Accept: application/json' \ - -H "Authorization: token ${GITHUB_TOKEN}" + echo $GITHUB_TOKEN | pulp login && + echo y | pulp publish --no-push diff --git a/package.json b/package.json index 01e1472..16567a0 100644 --- a/package.json +++ b/package.json @@ -2,11 +2,12 @@ "private": true, "scripts": { "clean": "rimraf output && rimraf .pulp-cache", - "build": "pulp build", + "build": "pulp build --censor-lib --strict", "test": "pulp test" }, "devDependencies": { - "pulp": "^8.1.0", + "pulp": "^8.2.0", + "purescript-psa": "^0.3.8", "rimraf": "^2.5.0" } }