From 3ed683ded7e9ac9326fc3583ed0252fb611def90 Mon Sep 17 00:00:00 2001 From: Gary Burgess Date: Sun, 18 Aug 2019 14:56:31 +0100 Subject: [PATCH 1/2] Raise upper bound for purescript-web-dom --- bower.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bower.json b/bower.json index 42f9fbe..c02f1a1 100644 --- a/bower.json +++ b/bower.json @@ -21,7 +21,7 @@ "dependencies": { "purescript-prelude": "^4.1.0", "purescript-effect": "^2.0.1", - "purescript-web-dom": "^3.0.0", + "purescript-web-dom": "3 - 4", "purescript-partial": "^2.0.1" }, "devDependencies": { From 66d0f4a8a477040c9887f00b61255253b5ac9727 Mon Sep 17 00:00:00 2001 From: Gary Burgess Date: Sun, 18 Aug 2019 15:00:14 +0100 Subject: [PATCH 2/2] Add travis build --- .travis.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..37fead9 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,21 @@ +language: node_js +dist: trusty +sudo: required +node_js: stable +env: + - PATH=$HOME/purescript:$PATH +install: + - TAG=$(wget -q -O - https://github.com/purescript/purescript/releases/latest --server-response --max-redirect 0 2>&1 | sed -n -e 's/.*Location:.*tag\///p') + - wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz + - tar -xvf $HOME/purescript.tar.gz -C $HOME/ + - chmod a+x $HOME/purescript + - npm install -g bower + - npm install +script: + - bower install + - npm run -s build +after_success: +- >- + test $TRAVIS_TAG && + echo $GITHUB_TOKEN | pulp login && + echo y | pulp publish --no-push