-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dx): Removed Node v4 from Travis CI and added auto building of do…
…cumentation
- Loading branch information
Daniel James
committed
Feb 14, 2017
1 parent
88166af
commit a508eae
Showing
2 changed files
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,11 +7,21 @@ notifications: | |
node_js: | ||
- '7' | ||
- '6' | ||
- '4' | ||
before_script: | ||
- npm prune | ||
after_success: | ||
- npm run semantic-release | ||
after_success: | | ||
if [ -n "$GH_TOKEN" ]; then | ||
cd "$TRAVIS_BUILD_DIR" | ||
npm run build:docs | ||
cd .build/docs | ||
git init | ||
git checkout -b gh-pages | ||
git add . | ||
git -c user.name='travis' -c user.email='travis' commit -m init | ||
git push -f -q https://thzinc:[email protected]/syncromatics/syncromatics-track-api gh-pages &2>/dev/null | ||
cd "$TRAVIS_BUILD_DIR" | ||
fi | ||
npm run semantic-release | ||
branches: | ||
except: | ||
- /^v\d+\.\d+\.\d+$/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters