Skip to content

Commit

Permalink
a second attempt to fix travis
Browse files Browse the repository at this point in the history
  • Loading branch information
th-awake committed Mar 5, 2020
1 parent 1b9f833 commit 1331f81
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ node_js: stable
env:
- PATH=$HOME/purescript:$PATH
install:
- TAG=$(curl --silent "https://api.github.com/repos/purescript/purescript/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")')
- TAG=$(basename $(curl -Ls -o /dev/null -w %{url_effective} https://github.com/purescript/purescript/releases/latest))
- 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
Expand All @@ -17,7 +17,7 @@ script:
- bower install
- npm run -s test
after_success:
- >-
test $TRAVIS_TAG &&
echo $GITHUB_TOKEN | pulp login &&
echo y | pulp publish --no-push
- >-
test $TRAVIS_TAG &&
echo $GITHUB_TOKEN | pulp login &&
echo y | pulp publish --no-push

0 comments on commit 1331f81

Please sign in to comment.