Skip to content

Commit 750b95a

Browse files
committed
Try to use prebuilt binaries.
1 parent 9cfec60 commit 750b95a

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.travis.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
language: node_js
22
node_js:
33
- "0.10"
4+
env:
5+
- PATH=$HOME/bin:$PATH purescript_datadir=$HOME/.local/share/purescript
6+
before_install:
7+
- mkdir -p $HOME/bin
8+
- mkdir -p $HOME/.local/share/purescript/prelude
49
install:
5-
- "sudo apt-get install cabal-install"
6-
- "cabal update"
7-
- "cabal install Cabal cabal-install"
8-
- "export PATH=~/.cabal/bin:$PATH"
9-
- "cabal install purescript --force-reinstalls"
10+
- wget -O $HOME/bin/psc https://github.com/joneshf/purescript/releases/download/v0.5.4.1/psc
11+
- wget -O $purescript_datadir/prelude/prelude.purs https://github.com/joneshf/purescript/releases/download/v0.5.4.1/prelude.purs
1012
- "npm install bower grunt-cli -g"
1113
- "npm install"
1214
- "bower install"

0 commit comments

Comments
 (0)