Skip to content

Commit 5860bf7

Browse files
Fix fetching PureScript tag in Travis (#21)
Fix fetching PureScript tag in Travis, fix tests for 0.13.6, fix comment format in JSDate.js and run eslint formatter
1 parent 9cc9635 commit 5860bf7

File tree

5 files changed

+442
-222
lines changed

5 files changed

+442
-222
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ node_js: stable
55
env:
66
- PATH=$HOME/purescript:$PATH
77
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')
8+
- TAG=$(basename $(curl -Ls -o /dev/null -w %{url_effective} https://github.com/purescript/purescript/releases/latest))
99
- wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
1010
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
1111
- chmod a+x $HOME/purescript
@@ -17,7 +17,7 @@ script:
1717
- bower install
1818
- npm run -s test
1919
after_success:
20-
- >-
21-
test $TRAVIS_TAG &&
22-
echo $GITHUB_TOKEN | pulp login &&
23-
echo y | pulp publish --no-push
20+
- >-
21+
test $TRAVIS_TAG &&
22+
echo $GITHUB_TOKEN | pulp login &&
23+
echo y | pulp publish --no-push

0 commit comments

Comments
 (0)