Skip to content

Commit

Permalink
Update travis to auto-publish to pursuit
Browse files Browse the repository at this point in the history
  • Loading branch information
garyb committed Nov 20, 2015
1 parent 859fc22 commit 8316675
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
language: node_js
sudo: false
node_js:
- 0.10
- 4
install:
- npm install bower gulp -g
- npm install && bower install
script:
- gulp
- node ./test-server.js &
- sleep 2 && node tmp/test.js
after_success:
- >-
test $TRAVIS_TAG &&
node_modules/.bin/psc-publish > .pursuit.json &&
curl -X POST http://pursuit.purescript.org/packages \
-d @.pursuit.json \
-H 'Accept: application/json' \
-H "Authorization: token ${GITHUB_TOKEN}"

0 comments on commit 8316675

Please sign in to comment.