-
Notifications
You must be signed in to change notification settings - Fork 53
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 #29 from ARMmbed/f/rework
Rework
- Loading branch information
Showing
90 changed files
with
4,704 additions
and
22,817 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -1,33 +1,46 @@ | ||
machine: | ||
node: | ||
version: 6.10.0 | ||
environment: | ||
LIVE_BRANCH: gh-pages | ||
version: 2 | ||
|
||
dependencies: | ||
pre: | ||
- sudo apt-get update | ||
- sudo apt-get install libudev-dev | ||
jobs: | ||
build: | ||
docker: | ||
- image: circleci/node:6 | ||
steps: | ||
- run: sudo apt-get update | ||
- run: sudo apt-get install libudev-dev | ||
- run: sudo apt-get install libusb-1.0-0-dev | ||
- checkout | ||
- run: npm install | ||
- run: npm run gulp | ||
- persist_to_workspace: | ||
root: ../ | ||
paths: | ||
- project | ||
|
||
compile: | ||
override: | ||
- npm run gulp | ||
deploy: | ||
docker: | ||
- image: circleci/node:6 | ||
steps: | ||
- attach_workspace: | ||
at: ../ | ||
- run: mkdir ~/.ssh/ && echo -e "Host github.com\n\tStrictHostKeyChecking no\n" > ~/.ssh/config | ||
- run: git config --global user.name thegecko | ||
- run: git config --global user.email [email protected] | ||
- run: git add --force bundles lib types docs | ||
- run: git stash save | ||
- run: git checkout gh-pages | ||
- run: git merge master --no-commit | ||
- run: git checkout stash -- . | ||
- run: git commit --allow-empty --message "Automatic Deployment [skip ci]" | ||
- run: git push | ||
|
||
test: | ||
override: | ||
- exit 0 | ||
|
||
deployment: | ||
staging: | ||
branch: master | ||
commands: | ||
- echo Syncing to $LIVE_BRANCH on GitHub... | ||
- git config --global user.name thegecko | ||
- git config --global user.email [email protected] | ||
- git add --force bundles lib types docs | ||
- git stash save | ||
- git checkout $LIVE_BRANCH | ||
- git merge master --no-commit | ||
- git checkout stash -- . | ||
- git commit --allow-empty --message "Automatic Deployment [skip ci]" | ||
- git push | ||
workflows: | ||
version: 2 | ||
commit: | ||
jobs: | ||
- build | ||
- deploy: | ||
requires: | ||
- build | ||
filters: | ||
branches: | ||
only: master |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.