From f47e1059a3264de3e14492057b6d9fddf959bf6a Mon Sep 17 00:00:00 2001 From: Gary Burgess Date: Fri, 20 May 2016 12:16:45 +0100 Subject: [PATCH] Update build --- .travis.yml | 13 +++++-------- package.json | 6 +++--- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 36183ef..f9843c2 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: @@ -13,12 +13,9 @@ install: - npm install - bower install script: - - npm run build + - npm run -s build 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 55fc1c7..41356bc 100644 --- a/package.json +++ b/package.json @@ -2,13 +2,13 @@ "private": true, "scripts": { "clean": "rimraf output && rimraf .pulp-cache", - "build": "jshint src && jscs src && pulp build", - "test": "jshint src && jscs src && pulp test" + "build": "jshint src && jscs src && pulp build --censor-lib --strict" }, "devDependencies": { "jscs": "^2.8.0", "jshint": "^2.9.1", - "pulp": "^8.1.0", + "pulp": "^8.2.0", + "purescript-psa": "^0.3.8", "rimraf": "^2.5.0" } }