purescript-httpurple/.travis.yml

19 lines
667 B
YAML
Raw Normal View History

2017-05-26 03:35:21 +00:00
language: node_js
dist: trusty
sudo: required
node_js: stable
notifications:
email: false
2017-05-26 03:35:21 +00:00
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
2017-07-18 02:10:01 +00:00
- npm install -g bower pulp purescript-psa
2017-05-26 03:35:21 +00:00
script:
- make test
after_success:
- test -n $TRAVIS_TAG && (echo $GITHUB_TOKEN | pulp login) && (yes | pulp publish --no-push)