Skip to content

Commit

Permalink
Add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Apr 16, 2016
1 parent 518212f commit 3537a58
Show file tree
Hide file tree
Showing 7 changed files with 562 additions and 52 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ npm-debug.log
*sublime*
.DS_Store
nbproject
_docpress

############################
# Tests
Expand Down
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,24 @@ node_js:
- "0.12"
- "0.10"
- "iojs"
env:
- OSOM_DEPLOY_DOCS=true
- OSOM_DEPLOY_DOCS=false
- OSOM_DEPLOY_DOCS=false
- OSOM_DEPLOY_DOCS=false
- OSOM_DEPLOY_DOCS=false
- OSOM_DEPLOY_DOCS=false
script:
- npm test
- ./node_modules/.bin/docpress build || exit 0
after_success:
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" -a "$OSOM_DEPLOY_DOCS" = "true" ]; then ./node_modules/.bin/git-update-ghpages -e; fi
cache:
directories:
- node_modules
env:
global:
- GIT_NAME: Travis CI
- GIT_EMAIL: nobody@nobody.org
- GITHUB_REPO: Kikobeats/osom
- GIT_SOURCE: _docpress
Loading

0 comments on commit 3537a58

Please sign in to comment.