-
Notifications
You must be signed in to change notification settings - Fork 27
/
circle.yml
45 lines (38 loc) · 961 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
general:
branches:
ignore:
- gh-pages
machine:
python:
version: 2.7.10
node:
version: 0.12.0
checkout:
post:
- git submodule sync
- git submodule update --init
dependencies:
cache_directories:
- ~/.platformio
override:
- sudo apt-get update
- sudo apt-get install doxygen
- pip install cpplint
# Used for deployment
- npm install
# Don't install PlatformIO if it's already been set up; it takes forever
- if [ ! -f "~/.platformio/appstate.json" ]; then scripts/setup_platformio.sh; fi
test:
override:
- scripts/lint_all.py --lint
- scripts/compile_all.py
post:
- make docs
- cp -R docs $CIRCLE_ARTIFACTS
deployment:
release: # docs are released when master is updated
branch: master
commands:
- git config --global user.email '[email protected]'
- git config --global user.name 'CircleCI Automated Build'
- npm run gulp deploy