Skip to content

Instantly share code, notes, and snippets.

@kmccarth
Last active September 14, 2018 15:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kmccarth/5bb703d3d6aba41b63f4766faef8a6db to your computer and use it in GitHub Desktop.
Save kmccarth/5bb703d3d6aba41b63f4766faef8a6db to your computer and use it in GitHub Desktop.

CircleCi Intro

Set-up

  • Clone repo
git clone git@github.com:/Hqoapp/react-native.git ~/repos/hqo/react-native;
  • Checkout branch kdm_circle2
cd ~/repos/hqo/react-native;
git fetch;
git checkout kdm_circle2;
  • Start docker, make sure docker is running
# if this script does not hang, you're good
docker images
  • Install CircleCi CLI
curl https://raw.githubusercontent.com/CircleCI-Public/circleci-cli/master/install.sh --fail --show-error | bash

Commands

  • Validate CircleCi config
yarn run circleci:validate; # circleci config validate -c .circleci/config.yml
  • Testing Builds Locally
yarn run circleci:lint;
yarn run circleci:android;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment