Skip to content

Commit 7899b79

Browse files
committed
Use container based build
1 parent a183004 commit 7899b79

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
language: node_js
2+
sudo: false
23
node_js:
34
- 0.10
45
env:
5-
- TAG=v0.7.0
6+
- PATH=$HOME/purescript:$PATH
67
install:
8+
- 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')
79
- wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
8-
- sudo tar zxvf $HOME/purescript.tar.gz -C /usr/local/bin purescript/psc{,i,-docs,-bundle} --strip-components=1
9-
- sudo chmod a+x /usr/local/bin/psc{,i,-docs,-bundle}
10+
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
11+
- chmod a+x $HOME/purescript
1012
- npm install bower gulp -g
1113
- npm install
1214
- bower install --production

0 commit comments

Comments
 (0)