-
Notifications
You must be signed in to change notification settings - Fork 603
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1224 from stephenplusplus/spp--travis-release-script
travis: run system tests from release script
- Loading branch information
Showing
1 changed file
with
5 additions
and
7 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 |
---|---|---|
|
@@ -16,15 +16,11 @@ | |
|
||
set -ev | ||
|
||
# decrypt credentials | ||
openssl aes-256-cbc -K $encrypted_b8aa0887832a_key -iv $encrypted_b8aa0887832a_iv -in key.json.enc -out key.json -d | ||
|
||
# create new coverage report | ||
npm run coveralls | ||
|
||
### Update docs | ||
# generate new set of json files in docs/json/master | ||
npm run docs | ||
npm run system-test | ||
|
||
git submodule add -f -b gh-pages https://${GH_OAUTH_TOKEN}@github.com/${GH_OWNER}/${GH_PROJECT_NAME} ghpages | ||
# copy set of json to tag folder | ||
test -d "ghpages/json/${TRAVIS_TAG}" && exit 0 || mkdir ghpages/json/${TRAVIS_TAG} | ||
|
@@ -37,6 +33,8 @@ cd ghpages | |
git add json | ||
git add manifest.json | ||
# commit to gh-pages branch | ||
git config user.name "selfiebot" | ||
git config user.name "travis-ci" | ||
git config user.email "[email protected]" | ||
git commit -m "Update docs for ${TRAVIS_TAG}" | ||
git status | ||
git push https://${GH_OAUTH_TOKEN}@github.com/${GH_OWNER}/${GH_PROJECT_NAME} HEAD:gh-pages |