Skip to content

Commit

Permalink
Comments and common test step
Browse files Browse the repository at this point in the history
  • Loading branch information
grabbou committed Oct 13, 2017
1 parent a17e8e5 commit b43e749
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,47 +89,47 @@ aliases:
npm config set progress=false
npm install --no-package-lock

- &run_javascript_tests
|
npm test -- --maxWorkers=2
npm run lint
npm run flow -- check

defaults: &defaults
working_directory: ~/react-native

version: 2
jobs:

# Runs unit tests on Node 8
test-node-8:
<<: *defaults
docker:
- image: circleci/node:8
steps:
- checkout
- run: *install_node_dependencies
- run: |
npm test -- --maxWorkers=2
npm run lint
npm run flow -- check
- run: *run_node_tests

# Runs unit tests on Node 6
test-node-6:
<<: *defaults
docker:
- image: circleci/node:6.11.0
steps:
- checkout
- run: *install_node_dependencies
- run: |
npm test -- --maxWorkers=2
npm run lint
npm run flow -- check
- run: *run_node_tests

# Runs unit tests on Node 4
test-node-4:
<<: *defaults
docker:
- image: circleci/node:4.8.4
steps:
- checkout
- run: *install_node_dependencies
- run: |
npm test -- --maxWorkers=2
npm run lint
npm run flow -- check
- run: *run_node_tests

# Runs unit tests on iOS devices
test-objc-ios:
Expand Down

0 comments on commit b43e749

Please sign in to comment.