Added clang-format (#623)
* added .clang-format * added names to travis jobs removed deprecated travis option * check github action * added .gitignore
This commit is contained in:
1 parent
661ef9c55e
commit
10a9d00aaf
59 files changed
+2892
-3640
No files matched your search
+11
-11
@@ -19,22 +19,21 @@
|
||||
# Travis CI documentation (see above).
|
||||
#
|
||||
|
||||
|
||||
#
|
||||
# Template #1: General project. Test it using existing `platformio.ini`.
|
||||
#
|
||||
matrix:
|
||||
jobs:
|
||||
include:
|
||||
- language: python
|
||||
- name: "Build and deploy with PlatformIO"
|
||||
language: python
|
||||
python: 2.7
|
||||
sudo: false
|
||||
cache:
|
||||
directories:
|
||||
- "~/.platformio"
|
||||
directories:
|
||||
- "~/.platformio"
|
||||
install:
|
||||
- pip install -U platformio
|
||||
- platformio update
|
||||
script:
|
||||
script:
|
||||
- sed -i 's/version_tag/'$TRAVIS_TAG'/g' main/User_config.h
|
||||
- platformio run
|
||||
- bash scripts/prepare_deploy.sh
|
||||
@@ -52,7 +51,8 @@ matrix:
|
||||
- toDeploy/*
|
||||
skip_cleanup: true
|
||||
|
||||
- language: node_js
|
||||
- name: "Build and deploy docs"
|
||||
language: node_js
|
||||
node_js:
|
||||
- lts/*
|
||||
install:
|
||||
@@ -63,10 +63,10 @@ matrix:
|
||||
before_deploy: echo "docs.openmqttgateway.com" >> docs/.vuepress/dist/CNAME
|
||||
deploy:
|
||||
provider: pages
|
||||
skip-cleanup: true
|
||||
skip_cleanup: true
|
||||
local_dir: docs/.vuepress/dist
|
||||
github-token: $GITHUB_TOKEN # a token generated on github allowing travis to push code on you repository
|
||||
keep-history: true
|
||||
github_token: $GITHUB_TOKEN # a token generated on github allowing travis to push code on you repository
|
||||
keep_history: true
|
||||
on:
|
||||
repo: 1technophile/OpenMQTTGateway
|
||||
all_branches: true
|
||||
|
||||
Reference in new issue
Block a user