Skip to content

Commit 8316675

Browse files
committed
Update travis to auto-publish to pursuit
1 parent 859fc22 commit 8316675

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.travis.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
language: node_js
22
sudo: false
33
node_js:
4-
- 0.10
4+
- 4
55
install:
66
- npm install bower gulp -g
77
- npm install && bower install
88
script:
99
- gulp
1010
- node ./test-server.js &
1111
- sleep 2 && node tmp/test.js
12+
after_success:
13+
- >-
14+
test $TRAVIS_TAG &&
15+
node_modules/.bin/psc-publish > .pursuit.json &&
16+
curl -X POST http://pursuit.purescript.org/packages \
17+
-d @.pursuit.json \
18+
-H 'Accept: application/json' \
19+
-H "Authorization: token ${GITHUB_TOKEN}"

0 commit comments

Comments
 (0)