test cci2

This commit is contained in:
Ibby Hadeed 2017-03-28 19:31:39 -04:00
parent ee269669aa
commit b0710cad1e

View File

@ -1,26 +1,35 @@
machine: version: 2
node: jobs:
version: 5.5.0 build:
ruby: working_directory: ~/ionic-native/
version: 2.1.2 docker:
- image: node:7
general:
branches: branches:
only: - only:
- master # ignore PRs and branches - cci2
steps:
dependencies: - checkout
pre: - run:
- ./scripts/docs/prepare.sh name: Install node modules
cache_directories: run: npm i
- "~/ionic-site" # cache ionic-site deployDocs:
working_directory: ~/ionic-native/
test: docker:
override: - image: node:7
- echo "No tests to run" branches:
- only:
deployment: - cci2 # set this to master
staging: steps:
branch: master - run:
commands: name: Prepare ionic-site repo
- ./scripts/docs/update_docs.sh command: ./scripts/docs/prepare.sh
- save_cache:
paths:
- ~/ionic-site/
- checkout
- run:
name: Install node modules
command: npm i
- run:
name: Update docs
command: ./scripts/docs/update_docs.sh