Skip to content

Commit

Permalink
Automatically publish documentation on pursuit (#6)
Browse files Browse the repository at this point in the history
This requires a `GITHUB_TOKEN` environment variable to be set (in travis). This token was obtained by following the instructions printed by `purs login`.

`sudo: required` makes stuff *a lot* faster. We don't actually require sudo.
  • Loading branch information
fehrenbach authored Nov 26, 2017
1 parent 0a69b54 commit 67251cc
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
language: node_js
node_js: node
dist: trusty
sudo: false
sudo: required
install:
- npm install -g bower purescript pulp
script:
- npm install pouchdb
script:
- bower install --production
- pulp build
- bower install
- pulp test
after_success:
- test $TRAVIS_TAG &&
echo $GITHUB_TOKEN | pulp login &&
echo y | pulp publish --no-push

0 comments on commit 67251cc

Please sign in to comment.