18 lines
388 B
YAML
18 lines
388 B
YAML
|
language: node_js
|
||
|
dist: trusty
|
||
|
sudo: required
|
||
|
node_js: 5
|
||
|
install:
|
||
|
- npm install -g bower
|
||
|
- npm install
|
||
|
script:
|
||
|
- npm run build
|
||
|
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}"
|