forked from facebookarchive/react-360
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
35 lines (33 loc) · 867 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
general:
branches:
ignore:
- gh-pages # list of branches to ignore
artifacts:
- "package_builds"
machine:
pre:
- export DEBIAN_FRONTEND=noninteractive && sudo apt-get remove -y --purge mysql-server mysql-community-server
node:
version: 6.2.0
dependencies:
override:
- node scripts/install-deps.js
- pushd website && npm install && popd
- pushd react-360-cli && npm install && popd
cache_directories:
- "website/node_modules"
- "react-360-cli/node_modules"
- "node_modules"
test:
override:
- npm run flow -- check
- REACT_NATIVE_MAX_WORKERS=1 npm run test
# build packages
- node scripts/build-packages.js
# test website generation
- cd website && node ./server/generate.js
deployment:
website:
tag: /.*-stable/
commands:
- echo "Stable release tag, deploying docs"