diff --git a/.travis.yml b/.travis.yml index beb4b48..5b14646 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,14 @@ language: node_js dist: trusty sudo: required -node_js: 6 +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 - bower install --production diff --git a/bower.json b/bower.json index 3edaad5..6161c5d 100644 --- a/bower.json +++ b/bower.json @@ -27,12 +27,12 @@ "example" ], "dependencies": { - "purescript-aff": "#compiler/0.12", - "purescript-either": "#compiler/0.12", - "purescript-node-fs": "#compiler/0.12", - "purescript-node-path": "#compiler/0.12" + "purescript-aff": "^5.0.0", + "purescript-either": "^4.0.0", + "purescript-node-fs": "^5.0.0", + "purescript-node-path": "^3.0.0" }, "devDependencies": { - "purescript-console": "#compiler/0.12" + "purescript-console": "^4.1.0" } } diff --git a/package.json b/package.json index da76be2..5a4bff0 100644 --- a/package.json +++ b/package.json @@ -6,9 +6,8 @@ "test": "pulp test" }, "devDependencies": { - "pulp": "^11.0.0", - "purescript-psa": "^0.5.0", - "purescript": "^0.11.1", - "rimraf": "^2.5.4" + "pulp": "^12.2.0", + "purescript-psa": "^0.6.0", + "rimraf": "^2.6.2" } } diff --git a/test/Main.purs b/test/Main.purs index 0327682..7445d25 100644 --- a/test/Main.purs +++ b/test/Main.purs @@ -4,7 +4,7 @@ import Prelude import Data.Array (filterA) import Data.Maybe (maybe) -import Data.String (charAt, singleton) +import Data.String.CodeUnits (charAt, singleton) import Effect (Effect) import Effect.Aff (launchAff_) import Effect.Class (liftEffect)